Learn R Programming

EdSurvey (version 4.0.7)

getPlausibleValue: Get Plausible Value Variables

Description

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.

Usage

getPlausibleValue(var, data)

Value

a character vector of the set of variable names for the plausible values

Arguments

var

a character vector naming the subject scale or subscale

data

an edsurvey.data.frame, a light.edsurvey.data.frame, or an edsurvey.data.frame.list

Author

Michael Lee and Paul Bailey

Details

This function will return a set of plausible value names for variables that hasPlausibleValue returns as true.

See Also

showPlausibleValues, updatePlausibleValue

Examples

Run this code
if (FALSE) {
# 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)
}

Run the code above in your browser using DataLab