Learn R Programming

⚠️There's a newer version (0.1.17) of this package.Take me there.

OpenRepGrid (version 0.1.12)

Tools to Analyze Repertory Grid Data

Description

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 (see e.g. Bell, 2005, ; Fransella, Bell, & Bannister, 2004, ISBN: 978-0-470-09080-0).

Copy Link

Version

Install

install.packages('OpenRepGrid')

Monthly Downloads

253

Version

0.1.12

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Mark Heckmann

Last Published

May 31st, 2018

Functions in OpenRepGrid (0.1.12)

biplotEsa3d

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

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

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

Calculate correlations between constructs.
biplotPseudo3d

See biplotPseudo3d for its use. Draws a biplot of the grid in 2D with depth impression (pseudo 3D).
clusterBoot

Multiscale bootstrap cluster analysis.
biplotEsaPseudo3d

Plot an eigenstructure analysis (ESA) in 2D grid with 3D impression (pseudo 3D).
data-feixas2004

Grid data from Feixas and Saul (2004).
doRectanglesOverlap

Detect if two rectangles overlap.
data-leach2001

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

A graphically unsophisticated version of a biplot.
calcAngles

Calculate angles for points in first two columns.
constructPca

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

clear ratings
cluster

Cluster analysis (of constructs or elements).
constructD

Calculate Somers' d for the constructs.
biplotSlater3d

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

Draws Slater's INGRID biplot in 2D.
data-mackay1992

Grid data from Mackay (1992). Data set 'Grid C'-
convertImportObjectToRepGridObject

convertImportObjectToRepGridObject.
biplotEsa2d

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

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

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

make ascending and descending vector
getConstructNames

Get construct names
getConstructNames2

Retrieve construct names in needed format.
calcBiplotCoords

Calculate coordinates for biplot.
constructPcaLoadings

Extract loadings from PCA of constructs.
convertScivescoImportObjectToRepGridObject

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

Coordinates of a sourrounding rectangle in direction of a given vector.
importGridstat

Import Gridstat data files.
constructRmsCor

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

Grid data from Boeker (1996).
data-raeithel

Grid data from Raeithel (1998).
data-slater1977a

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

Retrieve element names of repgrid object.
importGridstatInternal

Parser for Gridstat data files.
data-bell2010

Grid data from Bell (2010).
data-slater1977b

Grid data from Slater (1977).
importGridsuite

Import Gridsuite data files.
data-bellmcgorry1992

Grid data from Bell and McGorry (1992).
distanceHartmann

'Hartmann distance' (standardized Slater distances).
distance

Distance measures (between constructs or elements).
importGridsuiteInternal

Internal parser for Gridsuite data files
data-fbb2003

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

decouple a grid
elementCor

Calculate the correlations between elements.
map

map a value onto others
dim.repgrid

Return size of a grid.
mapCoordinatesToColor

Determine color values according to a given range of values.
[,repgrid,ANY,ANY-method

Extract parts of the repgrid object.
distanceNormalized

Standardized inter-element distances' (power transformed Hartmann distances).
formatMatrix

Format a matrix and add index column.
elementRmsCor

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

Retrieve element names in needed format.
importExcel

Import grid data from an Excel file.
getRatingLayer

get rating layer
distanceSlater

'Slater distances' (standardized Euclidean distances).
importExcelInternal

workhiorse function (parser) for importExcel.
getScale

Get minimum and maximum scale value used in grid.
getScaleMidpoint

Get midpoint of the grid rating scale
indexConflict2

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

Import grid data from a text file.
home

Rotate the interactive 3D device to default views.
getNoOfConstructs

Get number of constructs
indexIntensity

Intensity index
indexConflict3

Conflict or inconsistenciy measure for grids (Bell, 2004) based on distances.
importTxtInternal

ImportTxtInternal is the parser for importTxt.
modifyElement

modifyElement
indexDilemma

Detect implicative dilemmas (conflicts).
indexPvaff

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

Converts a Gridstat multigrid file into temporary single grid files and returns their path
indexVariability

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

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

Get number of elements
importGridcor

Import GRIDCOR data files.
orderBy

order one vector by another
orderByString

find the order of a string vector so it will match the order of another
print.constructCor

Print method for class constructCor.
indexConflict1

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

Normalize rows or columns by its standard deviation.
makeEmptyRepgrid

Constructor for repgrid class
print.elementCor

Print method for class elementCor.
left

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

Print method for class hdistance (Hartmann distance objects).
print.constructPca

Print method for class constructPca.
print.constructD

Print method for class constructD.
print.indexConflict3

print method for class indexConflict3
importGridcorInternal

Internal parser for GRIDCOR data files.
makeRepgrid

Make a new repgrid object.
print.ssq

Print method for class ssq.
importScivesco

Import sci:vesco data files.
print.indexIntensity

Print method for class indexIntensity.
print.distance

Print method for class distance.
importScivescoInternal

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

Print method for class indexPvaff.
lapply_pb

lapply with a progress bar
randomSentence

generate a random sentence with n words
loadgrid

Load repertory grid file using a GUI
randomSentences

generate n random sentences with a given or random number of words
[.openrepgridSettings

subset method for openrepgridSettings class
mapCoordinatesToValue

Map arbitrary numeric vector to a given range of values.
print.rmsCor

Print method for class rmsCor (RMS correlation for constructs or elements)
recycle

recycle vector to given length
randomWords

generate a random words
setMeta

setMeta
modifyConstruct

modify a construct
permuteConstructs

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

Set the scale range of a grid.
+,repgrid,repgrid-method

Concatenate repgrid objects.
setConstructAttr

Set the attributes of a construct
print.statsConstructs

Print method for class statsConstructs
prepareBiplotData

Prepare dataframe passed to drawing functions for biplots.
randomGrids

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

Set the attributes of an element
randomGrid

Generate a random grid (quasis) of prompted size.
ring

bring vector values into ring form
settingsSave

Save OpenRepGrid settings
print.statsElements

Print method for class statsElements
sapply_pb

sapply with a progress bar
print.indexConflict1

Print function for class indexConflict1
print.alignByLoadings

Print method for class alignByLoadings.
permuteGrid

Permute rows, columns or whole grid matrix.
shift

Shift construct or element to first position.
print.indexConflict2

Print method for class indexConflict2
quasiDistributionDistanceSlater

Generate random grids and calculate 'Slater distances' for the elements.
showScale

Print scale range information to the console.
slaterStandardization

Internal workhorse for Slater standardization.
rglDrawConstructLabels

draw constructs in rgl
[<-,repgrid-method

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

global settings for OpenRepGrid
rglDrawStandardAxes

Draw standard axes in the origin in an rgl plot.
recycle2

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

Swap the position of two constructs in a grid.
rglDrawConstructPoints

draw constructs in rgl
settingsLoad

Load OpenRepGrid settings
trim_val

trim vector to lower or upper value
reorder2d

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

Save grid in a Microsoft Excel file (.xlsx)
rglDrawStandardEllipses

Draw standard ellipses in the origin in an rgl plot.
show,repgrid-method

Show method for repgrid
saveAsTxt

Save grid in a text file (txt).
showMeta

showMeta
stepChart

Density histogram withs steps instead of bars
statsElements

Descriptive statistics for constructs and elements of a grid.
ssq

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

reverse a string
swapElements

Swap the position of two elements in a grid.
swapPoles

Swaps the construct poles.
alignByIdeal

Align constructs using the ideal element to gain pole preferences.
alignByLoadings

Align constructs by loadings on first pricipal component.
addConstruct

Add a new construct to an existing grid object.
addIndexColumnToMatrix

add index column for neater colnames
angleOrderIndexes2d

Make indexes to order grid by angles in given dimensions.
addElement

Add an element to an existing grid.
OpenRepGrid

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

Bertin display with corresponding cluster anaylsis.
apply_pb

apply with a progress bar
biplot3d

Draw grid in rgl (3D device).
biplot3dBase2

biplot3dBase2 is the workhorse to draw a grid in rgl (3D device).
bind

Concatenate the constructs of two grids.
bertin

Make Bertin display of grid data.
bertinBase

Workhorse for the biplot printing.
addVarianceExplainedToBiplot2d

Adds the percentage of the sum-of-squares explained by each axis to the plot.
OpenRepGrid-overview

OpenRepGrid: Annotated overview of package functions.
bindConstructs

Concatenate the constructs of two or more grids.
biplot2d

Draw a two-dimensional biplot.