Description Usage Arguments Details Value Note Examples
The function is used for multiple middle school districts to add structural zeros to a wave 1 network edge table.
1 | getMSRIDVecs(mSchVec, sidRowID)
|
mSchVec |
A numeric vector of middle school IDs to be separated at Wave 1 (only, because in this study, participants are in middle school only for Wave 1) by structural zeros. |
sidRowID |
A dataframe-format crosswalk of the SIDs and corresponding Row IDs in the analysis set being developed by the function that calls this one. |
Adding structural zeros is an option of 'getNetworkSet', which is where this function is currently used. In the PInf study, this is only meaningful for middle schools from the same school district at Wave 1.
A length(mSchVec) list of Row IDs of individuals within each of the middle schools with IDs in 'mSchVec'.
Internal Function, NOT EXPORTED
1 2 3 | # Gets dataframe including SIDs for the wave vector 'mSchVec' and the
# two-column dataframe 'sidRowID'.
msIDList <- getMSRIDVecs (mSchVec, sidRowID)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.