getEligNodes: Returns a vector of SIDs who were Short Survey eligible on...

Description Usage Arguments Details Value Note Examples

Description

Returns a vector of SIDs who were Short Survey eligible on any input wave

Usage

1
getEligNodes(pWavVec, pSchVec)

Arguments

pWavVec

An ordered numeric vector of wave SIDs to be included in the analysis. Waves 2, 6, and 10 are summer waves; no Short Survey or Long Survey data were collected. Hence these waves should not ever be specified.

pSchVec

A numeric vectorof School IDs to be included in the analysis.

Details

Used by other functions in this package (e.g. getNetworkSet, makeTVTbl, )

Value

A (#eligible SIDs)-length numerical vector of SIDs.

Note

This function just repeatedly calls 'getSWNodes' for each requested school & wave combination

Examples

1
2
3
# gets vector of SIDs for waves 1, 3, 4, and 5, schools 3-6 and 30 (one
# school district)
sidVec <- getSIDSet(c(1, 3, 4, 5), c(3, 4, 5, 6, 30), 1, 1)

johninpdx/RSTools documentation built on May 19, 2019, 5:15 p.m.