s0Assemble: Returns a data.table with structural 0's for w1 middle...

Description Usage Arguments Value Note

Description

This is a 'helper' function which, along with s0Make, adds rows of structural zeros for individuals from different middle schools who, however, will be going to the same high school the next year...and are thus considered part of the same network, for analysis purposes.

Usage

1
s0Assemble(pMSchVec)

Arguments

pMSchVec

A list of vectors, each containing the Wave 1 Analysis Set RowIDs (because Network Sets use RowIDs, as required by RSiena and network) for a specific middle school.

Value

A data.table in edgelist format; cols are RowID (chooser), RowID (chosen), bff (value of the relationship, an integer >= 0), and WID (wave ID #)

Note

This function should not normally be used stand-alone. To see how it is used in context, consult the source code for 'getNetworkSet'. NOT EXPORTED


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