View source: R/showPlausibleValues.R
getPlausibleValue | R Documentation |
Gets the set of variables on an edsurvey.data.frame
, a light.edsurvey.data.frame
, or
an edsurvey.data.frame.list
associated with the given subject or subscale.
getPlausibleValue(var, data)
var |
a character vector naming the subject scale or subscale |
data |
an |
This function will return a set of plausible value names for variables that
hasPlausibleValue
returns as true.
a character vector of the set of variable names for the plausible values
Michael Lee and Paul Bailey
showPlausibleValues
, updatePlausibleValue
## Not run:
# read in the example data (generated, not real student data)
sdf <- readNAEP(path=system.file("extdata/data", "M36NT2PM.dat", package="NAEPprimer"))
getPlausibleValue(var="composite", data=sdf)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.