read.person.GGUM2004: Read 'GGUM2004' person estimates into R

View source: R/GGUM2004.R

read.person.GGUM2004R Documentation

Read 'GGUM2004' person estimates into R

Description

read.person.GGUM2004 reads the output files from 'GGUM2004' with the person parameters. Both the person parameter estimates and their standard errors are imported into R.

Usage

read.person.GGUM2004(temp.dir = "C:/GGUM2004/TEMPFILE", precision = 4)

Arguments

temp.dir

The directory where 'GGUM2004' saved the output. By default, it is "C:/GGUM2004/TEMPFILE".

precision

Number of decimal places of the results (default = 4).

Value

An N\times 3 matrix is returned, where N is the number of persons. The first column is the person ID, the second column has the person parameter estimates, and the last column has the standard errors.

Details

Observe that this function is optimized for the Windows operating system because 'GGUM2004' is a Windows program.

Author(s)

Sebastian Castro-Alvarez, secastroal@gmail.com

References

\insertRef

Robertsetal2006GGUM

Examples

## Not run: 
# If the 'GGUM2004' output files are in the default directory 
# (C:/GGUM2004/TEMPFILE), then simply execute
read.person.GGUM2004()

## End(Not run)

GGUM documentation built on Sept. 8, 2023, 5:38 p.m.