getWeightJkReplicates: Retrieve the Jackknife Replicate Weights

View source: R/showWeights.R

getWeightJkReplicatesR Documentation

Retrieve the Jackknife Replicate Weights

Description

Returns the jackknife replicate weights on an edsurvey.data.frame, a light.edsurvey.data.frame, or an edsurvey.data.frame.list associated with a weight variable.

Usage

getWeightJkReplicates(var, data)

Arguments

var

character indicating the name of the weight variable for which the jackknife replicate weights are desired

data

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

Value

a character vector of the jackknife replicate weights

Author(s)

Michael Lee and Paul Bailey

Examples

## Not run: 
# read in the example data (generated, not real student data)
sdf <- readNAEP(path=system.file("extdata/data", "M36NT2PM.dat", package="NAEPprimer"))

getWeightJkReplicates(var="origwt", data=sdf)

## End(Not run)

EdSurvey documentation built on June 27, 2024, 5:10 p.m.