gtheory: Generalizability Theory

View source: R/gtheory.h.R

gtheoryR Documentation

Generalizability Theory

Description

Generalizability Theory

Usage

gtheory(
  data,
  dep,
  id,
  sub,
  ng = 2,
  nf = 1,
  facet,
  g = FALSE,
  d = FALSE,
  formula = "value ~ (1 | subject) + (1 | task) + (1 | rater:task) + (1 | subject:task)",
  mea = FALSE,
  gmea = FALSE,
  item = FALSE,
  formula1 = "Score ~ (1 | Person) + (1 | Item)",
  t = "uni",
  itemd = FALSE,
  comp = FALSE,
  bm = FALSE,
  mat = FALSE,
  bmat = FALSE,
  plot1 = FALSE,
  width = 500,
  height = 500,
  gco = "TRUE"
)

Arguments

data

.

dep

.

id

.

sub

.

ng

.

nf

.

facet

.

g

.

d

.

formula

.

mea

.

gmea

.

item

.

formula1

.

t

.

itemd

.

comp

.

bm

.

mat

.

bmat

.

plot1

.

width

.

height

.

gco

.

Value

A results object containing:

results$instructions a html
results$g a table
results$gmea a table
results$d a table
results$mea a table
results$item an array of tables
results$mat a table
results$itemd an array of tables
results$bmat a table
results$bm a table
results$comp a table
results$plot1 an image
results$text a preformatted

Tables can be converted to data frames with asDF or as.data.frame. For example:

results$g$asDF

as.data.frame(results$g)


hyunsooseol/seolmatrix documentation built on July 25, 2024, 4:42 a.m.