Learn R Programming

grt

Functions to generate and analyze data for psychology experiments based on the General Recognition Theory.

This package is an R-port and extension of [GRT Toolbox for MATLAB by Leola Alfonso-Reese] (http://www-rohan.sdsu.edu/~leola/toolbox.html), with several added functionalities.

This package is also available on CRAN. To install the package from GitHub, first install devtools and its dependencies. Then run

devtools::install_github("matsukik/grt")

Copy Link

Version

Install

install.packages('grt')

Monthly Downloads

213

Version

0.2.1

License

GPL (>= 2)

Maintainer

Andy Wills

Last Published

July 14th, 2017

Functions in grt (0.2.1)

coef.glc

Extract 'glc' or 'gcjc' coefficients
dprime

Calculate d' (d-prime)
extractAIC

extractAIC method for class 'glc', 'gqc', 'gcjc', and 'grg'
gaborPatch

Draw a gray-scale Gabor Patch
gcjc

General Conjunctive Classifier
gcjcStruct

General Conjunctive Classifier structure
gqc

General Quadratic Classifier
gqcStruct

General Quadratic Classifier structure.
glc

General Linear Classifier
glcStruct

General Linear Classifier structure
grg

General Random Guessing model
grt-package

General Recognition Theory
grtMeans

Obtain means of two multivariate normal populations satisfying certain criteria
grtrnorm

Sample from multiple multivariate normal distributions
logLik.gqcStruct

Log-Likelihood of a 'gqcStruct' Object
ldb

Linear Decision Bound
ldb.p.correct

Probability of correct classification based on the optimal linear decision bound.
plot3d.gqc

plot3d Method for Class 'gqc'
logLik.glcStruct

Log-Likelihood of a 'glcStruct' or 'gcjcStruct' Object
logLik.gqc

Log-Likelihood of a 'gqc' Object
plot.gcjc

Plot Method for Class 'gcjc'
plot.glc

Plot Method for Class 'glc'
plot.gqc

plot Method for Class 'gqc'
plot3d.glc

plot3d Method for Class 'glc'
mcovs

Calculate sample means and covariance(s) of multivariate data
subjdemo_2d

Sample dataset of a categorization experiment with 2D stimuli.
subjdemo_3d

Sample dataset of a categorization experiment with 3D stimuli.
lines.gqcStruct

lines Method for class 'gqc'
logLik.glc

Log-Likelihood of a 'glc' or 'gcjc' Object
new2old_par

Convert 'new' to 'old' glcStruct format
old2new_par

Convert 'old' to 'new' glcStruct format
predict.glc

predict method for General Linear Classifier
subjdemo_cj

Sample dataset of a categorization experiment with 2D conjunctive stimuli.
unscale

Un-scale or re-center the scaled or centered Matrix-like object
scale

Scale method for the class 'glc' and 'gqc'
subjdemo_1d

Sample dataset of a categorization experiment with 1D stimuli.
qdb

Quadratic Decision Bound
qdb.p.correct

the proportion correct of the quadratic decision boundary.