OpenRepGrid0.1.18 package

Tools to Analyze Repertory Grid Data

addAvgElement

Add a new average element

addConstruct

Add a new construct to an existing grid object.

addElement

Add an element to an existing grid.

addIndexColumnToMatrix

add index column for neater colnames

addVarianceExplainedToBiplot2d

Adds the percentage of the sum-of-squares explained by each axis to th...

alignByIdeal

Align constructs using the ideal element to gain pole preferences.

alignByLoadings

Align constructs by loadings on first principal component.

alignByPreferredPole

Align constructs by preferred pole

angleOrderIndexes2d

Make indexes to order grid by angles in given dimensions.

apply_pb

apply with a progress bar

bertin

Make Bertin display of grid data.

bertinCluster

Bertin display with corresponding cluster analysis.

bind

Concatenate the constructs of two grids.

bindConstructs

Concatenate the constructs of two or more grids.

biplot2d

Draw a two-dimensional biplot.

biplot3d

Draw grid in rgl (3D device).

biplotDraw

biplotDraw is the workhorse doing the drawing of a 2D biplot.

biplotEsa2d

Plot an eigenstructure analysis (ESA) biplot in 2D.

biplotEsa3d

Draw the eigenstructure analysis (ESA) biplot in rgl (3D device).

biplotEsaPseudo3d

Plot an eigenstructure analysis (ESA) in 2D grid with 3D impression (p...

biplotPseudo3d

Draws a biplot of the grid in 2D with depth impression (pseudo 3D).

biplotSimple

A graphically unsophisticated version of a biplot.

biplotSlater2d

Draws Slater's INGRID biplot in 2D.

biplotSlater3d

Draw the Slater's INGRID biplot in rgl (3D device).

biplotSlaterPseudo3d

Draws Slater's biplot in 2D with depth impression (pseudo 3D).

calcAngles

Calculate angles for points in first two columns.

calcBiplotCoords

Calculate coordinates for biplot.

calcCoordsBorders

Coordinates of a surrounding rectangle in direction of a given vector.

cascade

make ascending and descending vector

cbind.repgrid

Concatenate the elements of two grids

center

Centering of rows (constructs) and/or columns (elements).

clearRatings

clear ratings

cluster

Cluster analysis (of constructs or elements).

clusterBoot

Multiscale bootstrap cluster analysis.

constructCor

Calculate correlations between constructs.

constructD

Calculate Somers' d for the constructs.

constructPca

Principal component analysis (PCA) of inter-construct correlations.

constructPcaLoadings

Extract loadings from PCA of constructs.

constructRmsCor

Root mean square (RMS) of inter-construct correlations.

constructs

Get or replace construct poles

convertImportObjectToRepGridObject

convertImportObjectToRepGridObject.

convertScivescoImportObjectToRepGridObject

Convert the returned object from the sci:vesco import function into a ...

data-bell2010

Grid data from Bell (2010).

data-bellmcgorry1992

Grid data from Bell and McGorry (1992).

data-boeker

Grid data from Boeker (1996).

data-fbb2003

Grid data from Fransella, Bell and Bannister (2003).

data-feixas2004

Grid data from Feixas and Saul (2004).

data-leach2001

Pre- and post therapy dataset from Leach et al. (2001).

data-mackay1992

Grid data from Mackay (1992).

data-raeithel

Grid data from Raeithel (1998).

data-slater1977a

Drug addict's grid data set from Slater (1977, p. 32).

data-slater1977b

Grid data from Slater (1977).

decouple

decouple a grid

dim.gridlist

Number of constructs and elements all repgrids in gridlist

dim.repgrid

Return size of a grid.

dist_minmax

Calculate minimal and maximal possible distance

distance

Distance measures (between constructs or elements).

distanceHartmann

'Hartmann distance' (standardized Slater distances).

distanceNormalized

Calculate power-transformed Hartmann distances.

distanceSlater

Slater distances (standardized Euclidean distances).

doRectanglesOverlap

Detect if two rectangles overlap.

doubleEntry

Join the constructs of a grid with the same reversed constructs.

elementCor

Calculate the correlations between elements.

elementRmsCor

Root mean square (RMS) of inter-element correlations.

elements

Get or replace element names

extract-methods

Extract parts of the repgrid object.

formatMatrix

Format a matrix and add index column.

getConstructNames

Get construct names

getConstructNames2

Retrieve construct names in needed format.

getElementNames

Retrieve element names of repgrid object.

getElementNames2

Retrieve element names in needed format.

getNoOfConstructs

Get number of constructs

getNoOfElements

Get number of elements

getRatingLayer

get rating layer

getScale

Get minimum and maximum scale value used in grid.

getScaleMidpoint

Get midpoint of the grid rating scale

grid_to_df_long

Export a grid to dataframe with long format

grid_to_df_wide

Export a grid to dataframe with wide format

gridlist

Add repgrids into a gridlist

home

Rotate the interactive 3D device to default views.

importDataframe

Convert a dataframe into a repgrid object.

importExcel

Import grid data from an Excel file.

importGridcor

Import GRIDCOR data files.

importGridcorInternal

Internal parser for GRIDCOR data files.

importGridstat

Import Gridstat data files.

importGridstatInternal

Parser for Gridstat data files.

importGridsuite

Import Gridsuite data files.

importGridsuiteInternal

Internal parser for Gridsuite data files

importScivesco

Import sci:vesco data files.

importScivescoInternal

Internal parser for sci:vesco files (suffix scires).

importTxt

Import grid data from a text file.

indexBias

Calculate 'bias' of grid as defined by Slater (1977).

indexBieri

Bieri's index of cognitive complexity

indexConflict1

Conflict measure for grids (Slade & Sheehan, 1979) based on correlatio...

indexConflict2

Conflict measure for grids (Bassler et al., 1992) based on correlation...

indexConflict3

Conflict or inconsistency measure for grids (Bell, 2004) based on dist...

indexDDI

Dispersion of dependency index (DDI)

indexDilemma

Implicative Dilemmas

indexDilemmatic

Dilemmatic constructs

indexIntensity

Intensity index

indexPolarization

Polarization (percentage of extreme ratings)

indexPvaff

Percentage of Variance Accounted for by the First Factor (PVAFF)

indexSelfConstruction

Self construction profile

indexUncertainty

Uncertainty index

indexVariability

Calculate 'variability' of a grid as defined by Slater (1977).

is.repgrid

Test if object has class repgrid

lapply_pb

lapply with a progress bar

makeEmptyRepgrid

Constructor for repgrid class

makeRepgrid

Make a new repgrid object.

map

map a value onto others

mapCoordinatesToColor

Determine color values according to a given range of values.

mapCoordinatesToValue

Map arbitrary numeric vector to a given range of values.

matches

Number of matches in ratings

midpoint

Midpoint of the grid rating scale

modifyConstruct

modify a construct

modifyElement

modifyElement

move

Move construct or element in grid to the left, right, up or down.

multigridFileToSinglegridFiles

Converts a Gridstat multigrid file into temporary single grid files an...

normalize

Normalize rows or columns by its standard deviation.

OpenRepGrid-overview

OpenRepGrid: Annotated overview of package functions.

OpenRepGrid

OpenRepGrid: an R package for the analysis of repertory grids.

openrepgridSettings

subset method for openrepgridSettings class

ops-methods

Concatenate repgrid objects.

orderBy

order one vector by another

orderByString

find the order of a string vector so it will match the order of anothe...

permuteConstructs

Generate a list with all possible construct reflections of a grid.

permuteGrid

Permute rows, columns or whole grid matrix.

perturbate

Perturbate grid ratings

plot.indexDilemma

Plot method for indexDilemma (network graph)

preferred-pole

Get / set preferred construct poles

preferredPolesByIdeal

Set preferred pole by ideal element

prepareBiplotData

Prepare dataframe passed to drawing functions for biplots.

print_square_matrix

Print a square matrix in well readable format

print.alignByLoadings

Print method for class alignByLoadings.

print.constructCor

Print method for class constructCor.

print.constructD

Print method for class constructD.

print.constructPca

Print method for class constructPca.

print.distance

Print method for class distance.

print.elementCor

Print method for class elementCor.

print.gridlist

Print method for gridlist objects

print.hdistance

Print method for class hdistance (Hartmann distance objects).

print.indexBieri

Print method for class indexBieri

print.indexConflict1

Print function for class indexConflict1

print.indexConflict2

Print method for class indexConflict2

print.indexConflict3

print method for class indexConflict3

print.indexDilemma

Print method for class indexDilemma

print.indexDilemmatic

Print method for class indexDilemmatic

print.indexIntensity

Print method for class indexIntensity.

print.indexPolarization

Print method for class indexPolarization.

print.indexSelfConstruction

Print method for indexSelfConstruction

print.org.matches

Print method for class org.matches.

print.rmsCor

Print method for class rmsCor (RMS correlation for constructs or eleme...

print.ssq

Print method for class ssq.

print.statsConstructs

Print method for class statsConstructs

print.statsElements

Print method for class statsElements

quasiDistributionDistanceSlater

Generate random grids and calculate 'Slater distances' for the element...

randomGrid

Generate a random grid (quasis) of prompted size.

randomGrids

Generate a list of random grids (quasis) of prompted size.

randomSentence

generate a random sentence with n words

randomSentences

generate n random sentences with a given or random number of words

randomWords

generate a random words

ratings

Extract ratings (wide or long format)

recycle

recycle vector to given length

recycle2

variation of recycle that recycles one vector x or y to the length of ...

reorder

Invert construct and element order

reorder2d

Order grid by angles between construct and/or elements in 2D.

rep.repgrid

Replicate repgrid objects

resampling

Resample constructs

reverse

Reverse constructs / swaps construct poles

rglDrawConstructLabels

draw constructs in rgl

rglDrawConstructPoints

draw constructs in rgl

rglDrawStandardAxes

Draw standard axes in the origin in an rgl plot.

rglDrawStandardEllipses

Draw standard ellipses in the origin in an rgl plot.

ring

bring vector values into ring form

sapply_pb

sapply with a progress bar

saveAsExcel

Save grids as Microsoft Excel file (.xlsx)

saveAsTxt

Save grid in a text file (txt).

saveAsWorksheet

Add grids as sheets to an openxlsx Workbook

setConstructAttr

Set the attributes of a construct

setElementAttr

Set the attributes of an element

setMeta

setMeta

setScale

Set the scale range of a grid.

settings

global settings for OpenRepGrid

settingsLoad

Load OpenRepGrid settings

settingsSave

Save OpenRepGrid settings

shift

Shift construct or element to first position.

show-repgrid-method

Show method for repgrid

showScale

Print scale range information to the console.

slaterStandardization

Internal workhorse for Slater standardization.

ssq

Calculate SSQ (accuracy) of biplot representation for elements and con...

stats

Descriptive statistics for constructs and elements

stepChart

Density histogram with steps instead of bars.

stop_if_not_0_1_ratings_only

Raise error if repgrid object has ratings other than 0/1

stop_if_not_in_element_range

Raise error if element index is outside of range or element name is un...

stop_if_not_is_repgrid

Raise error if not is repgrid object

stop_if_scale_not_defined

Raise error if min or max of rating scale are undefined

strReverse

reverse a string

subassign

Method for "<-" assignment of the repgrid ratings.

swapConstructs

Swap the position of two constructs in a grid.

swapElements

Swap the position of two elements in a grid.

trim_val

trim vector to lower or upper value

Analyze repertory grids, a qualitative-quantitative data collection technique devised by George A. Kelly in the 1950s. Today, grids are used across various domains ranging from clinical psychology to marketing. The package contains functions to quantitatively analyze and visualize repertory grid data (e.g. 'Fransella', 'Bell', & 'Bannister', 2004, ISBN: 978-0-470-09080-0). The package is part of the The package is part of the <https://openrepgrid.org/> project.