batch.sfile: Batch Read Winsteps Structure Files (sfiles) Into R

Description Usage Arguments Value

View source: R/batchSfile.r

Description

This function is essentially equivalent to batch.ifile, except that structure files are read into R rather than item files. These are necessary for plotting results from rating scale or partial credit models.

Usage

1
batch.sfile(dir = getwd(), pat = "Sfile", files = NULL)

Arguments

dir

The directory where the item files are saved.

pat

A common character string in all item files. Only used if files = NULL, Defaults to "Ifile", which is what is automatically generated when link{r2Winsteps} is called.

files

Optional character vector of the names of the item files to be read into R. Note that only the names of the files (not the extension) are neccessary. The function assumes .txt files.

Value

List of Winsteps sfiles, where each element of the list represents a different sfile.


DJAnderson07/r2Winsteps documentation built on Sept. 12, 2019, 1:06 a.m.