Learn R Programming

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

OpenRepGrid (version 0.1.16)

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 (e.g. 'Fransella', 'Bell', & 'Bannister', 2004, ISBN: 978-0-470-09080-0). The package is part of the The package is part of the project.

Copy Link

Version

Install

install.packages('OpenRepGrid')

Monthly Downloads

401

Version

0.1.16

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Mark Heckmann

Last Published

December 2nd, 2024

Functions in OpenRepGrid (0.1.16)

apply_pb

apply with a progress bar
biplotEsa2d

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

Make Bertin display of grid data.
bertinCluster

Bertin display with corresponding cluster analysis.
biplot2d

Draw a two-dimensional biplot.
biplot3d

Draw grid in rgl (3D device).
bindConstructs

Concatenate the constructs of two or more grids.
bind

Concatenate the constructs of two grids.
biplotEsa3d

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

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

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

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

A graphically unsophisticated version of a biplot.
calcCoordsBorders

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

Calculate angles for points in first two columns.
biplotSlaterPseudo3d

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

Draws Slater's INGRID biplot in 2D.
calcBiplotCoords

Calculate coordinates for biplot.
constructPcaLoadings

Extract loadings from PCA of constructs.
constructRmsCor

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

Calculate correlations between constructs.
colorize_matrix_rows

Colorize matrix cell rows using crayon colors
clusterBoot

Multiscale bootstrap cluster analysis.
cluster

Cluster analysis (of constructs or elements).
center

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

clear ratings
cascade

make ascending and descending vector
constructD

Calculate Somers' d for the constructs.
constructs

Get or replace construct poles
biplotPseudo3d

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

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

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

Convert the returned object from the sci:vesco import function into a repgrid object.
data-bellmcgorry1992

Grid data from Bell and McGorry (1992).
data-bell2010

Grid data from Bell (2010).
convertImportObjectToRepGridObject

convertImportObjectToRepGridObject.
data-feixas2004

Grid data from Feixas and Saul (2004).
dim.repgrid

Return size of a grid.
dim.gridlist

Number of constructs and elements all repgrids in gridlist
distanceNormalized

Calculate power-transformed Hartmann distances.
distanceHartmann

'Hartmann distance' (standardized Slater distances).
data-slater1977b

Grid data from Slater (1977).
decouple

decouple a grid
data-slater1977a

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

Grid data from Mackay (1992).
getConstructNames

Get construct names
data-raeithel

Grid data from Raeithel (1998).
data-leach2001

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

Retrieve construct names in needed format.
[,repgrid-method

Extract parts of the repgrid object.
elements

Get or replace element names
elementRmsCor

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

Format a matrix and add index column.
getScale

Get minimum and maximum scale value used in grid.
getRatingLayer

get rating layer
getNoOfElements

Get number of elements
getNoOfConstructs

Get number of constructs
distanceSlater

Slater distances (standardized Euclidean distances).
home

Rotate the interactive 3D device to default views.
importExcel

Import grid data from an Excel file.
doubleEntry

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

Calculate the correlations between elements.
getElementNames2

Retrieve element names in needed format.
getElementNames

Retrieve element names of repgrid object.
importScivesco

Import sci:vesco data files.
data-boeker

Grid data from Boeker (1996).
dist_minmax

Calculate minimal and maximal possible distance
importGridsuiteInternal

Internal parser for Gridsuite data files
importScivescoInternal

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

Add repgrids into a gridlist
importGridsuite

Import Gridsuite data files.
distance

Distance measures (between constructs or elements).
getScaleMidpoint

Get midpoint of the grid rating scale
importGridstatInternal

Parser for Gridstat data files.
importGridstat

Import Gridstat data files.
doRectanglesOverlap

Detect if two rectangles overlap.
importExcelInternal

workhorse function (parser) for importExcel.
importGridcorInternal

Internal parser for GRIDCOR data files.
importTxt

Import grid data from a text file.
indexDDI

Dispersion of dependency index (DDI)
importTxtInternal

ImportTxtInternal is the parser for importTxt.
indexDilemmatic

Dilemmatic constructs
indexBias

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

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

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

Intensity index
importGridcor

Import GRIDCOR data files.
indexConflict1

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

Self construction profile
indexBieri

Bieri's index of cognitive complexity
indexPvaff

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

map a value onto others
indexPolarization

Polarization (percentage of extreme ratings)
indexUncertainty

Uncertainty index
indexDilemma

Implicative Dilemmas
indexVariability

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

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

Make a new repgrid object.
makeEmptyRepgrid

Constructor for repgrid class
mapCoordinatesToValue

Map arbitrary numeric vector to a given range of values.
mapCoordinatesToColor

Determine color values according to a given range of values.
lapply_pb

lapply with a progress bar
is.repgrid

Test if object has class repgrid
+,repgrid,repgrid-method

Concatenate repgrid objects.
multigridFileToSinglegridFiles

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

Perturbate grid ratings
plot.indexDilemma

Plot method for indexDilemma (network graph)
[.openrepgridSettings

subset method for openrepgridSettings class
orderBy

order one vector by another
matches

Number of matches in ratings
permuteGrid

Permute rows, columns or whole grid matrix.
normalize

Normalize rows or columns by its standard deviation.
midpoint

Midpoint of the grid rating scale
print.constructCor

Print method for class constructCor.
print.alignByLoadings

Print method for class alignByLoadings.
print.indexBieri

Print method for class indexBieri
print.indexConflict1

Print function for class indexConflict1
print.gridlist

Print method for gridlist objects
prepareBiplotData

Prepare dataframe passed to drawing functions for biplots.
permuteConstructs

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

modify a construct
orderByString

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

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

modifyElement
print.indexConflict3

print method for class indexConflict3
print.org.matches

Print method for class org.matches.
print.constructD

Print method for class constructD.
print.indexSelfConstruction

Print method for indexSelfConstruction
print.indexConflict2

Print method for class indexConflict2
print_square_matrix

Print a square matrix in well readable format
print.indexDilemma

Print method for class indexDilemma
print.indexIntensity

Print method for class indexIntensity.
print.distance

Print method for class distance.
print.indexPolarization

Print method for class indexPolarization.
print.elementCor

Print method for class elementCor.
print.statsConstructs

Print method for class statsConstructs
print.hdistance

Print method for class hdistance (Hartmann distance objects).
recycle

recycle vector to given length
quasiDistributionDistanceSlater

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

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

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

Load OpenRepGrid settings
print.indexDilemmatic

Print method for class indexDilemmatic
print.ssq

Print method for class ssq.
settingsSave

Save OpenRepGrid settings
print.constructPca

Print method for class constructPca.
swapPoles

Reverse constructs / swaps construct poles
saveAsTxt

Save grid in a text file (txt).
ratings

Extract ratings (wide or long format)
[<-,repgrid-method

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

bring vector values into ring form
showMeta

showMeta
setConstructAttr

Set the attributes of a construct
randomWords

generate a random words
recycle2

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

draw constructs in rgl
showScale

Print scale range information to the console.
rglDrawStandardEllipses

Draw standard ellipses in the origin in an rgl plot.
saveAsExcel

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

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

draw constructs in rgl
sapply_pb

sapply with a progress bar
print.statsElements

Print method for class statsElements
rep.repgrid

Replicate repgrid objects
statsElements

Descriptive statistics for constructs and elements
grids_leave_n_out

Resample constructs
randomSentence

generate a random sentence with n words
randomSentences

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

Density histogram with steps instead of bars.
swapElements

Swap the position of two elements in a grid.
trim_val

trim vector to lower or upper value
swapConstructs

Swap the position of two constructs in a grid.
stop_if_not_0_1_ratings_only

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

Raise error if not is repgrid object
show,repgrid-method

Show method for repgrid
setMeta

setMeta
setElementAttr

Set the attributes of an element
shift

Shift construct or element to first position.
reorder.repgrid

Invert construct and element order
setScale

Set the scale range of a grid.
reorder2d

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

global settings for OpenRepGrid
ssq

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

reverse a string
slaterStandardization

Internal workhorse for Slater standardization.
stop_if_scale_not_defined

Raise error if min or max of rating scale are undefined
addVarianceExplainedToBiplot2d

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

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

Align constructs by loadings on first principal component.
angleOrderIndexes2d

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

Add a new average element
addIndexColumnToMatrix

add index column for neater colnames
addConstruct

Add a new construct to an existing grid object.
addElement

Add an element to an existing grid.
OpenRepGrid-overview

OpenRepGrid: Annotated overview of package functions.
OpenRepGrid

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