simMLgvar | R Documentation |
See arxiv.org/abs/1609.04156 for details.
simMLgvar(nTime, nVar, nPerson, propPositive = 0.5, kappaRange = c(0.25, 0.5),
betaRange = c(0.25, 0.5), betweenRange = c(0.25, 0.5),
rewireWithin = 0, betweenVar = 1, withinVar = 0.25,
temporalOffset = 2)
nTime |
Number of time points per subject |
nVar |
Number of variables |
nPerson |
Number of subjects |
propPositive |
Proportion of positive edges |
kappaRange |
Range of partial contemporaneous correlation coefficients |
betaRange |
Range of temporal coefficients |
betweenRange |
Range of partial between-subjects coefficients |
rewireWithin |
Rewiring probability of contemporaneous networks |
betweenVar |
Between-subjects variabce |
withinVar |
Contemporaneous variance |
temporalOffset |
Specifies the temporal network. Setting this to 2 connects X_i to X_(i+2) |
A "simMLgvar"
object with the following elements:
data |
Generated dataset |
fixedKappa |
Fixed inverse contemporaneous covariance matrix |
fixedPCC |
Fixed contemporaneous partial correlation network |
fixedBeta |
Fixed temporal network |
fixedPDC |
Fixed standardized temporal network |
between |
Fixed between-subjects network |
means |
True means |
personData |
Dataset split per person |
idvar |
String indicating the id variable |
vars |
Vector of strings indicating the variables |
Sacha Epskamp <mail@sachaepskamp.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.