pvFromRes | R Documentation |
Collects plausible values in a wide or long format data frame.
pvFromRes(resultsObj, toWideFormat = TRUE, idVarName = NULL, verbose=TRUE)
resultsObj |
The object returned by |
toWideFormat |
Logical: Should the plausible values be arranged in the wide format? Alternatively, they will appear in the long format. |
idVarName |
Optional: character vector of individual student id. This is only to provide compatibility with older package versions. Specification of this argument is only necessary if the function gives an error. |
verbose |
Print messages to console? |
A data frame in the wide or long format with several columns, containing model name, model dimension(s), student ID, and several columns with the plausible values.
### read exemplary results object
file <- system.file("extdata", "results.rda", package = "eatModel")
load(file)
pv <- pvFromRes(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.