Create design array for replicate data
Usage
get_design_rep(Y, Xdyad, Xrow, Xcol, actorSet, intercept, n, N, pr, pc, pd,
symmetric = FALSE)Arguments
- Y
dependent variable in array format
- Xdyad
dyadic covariates in array format
- Xrow
sender covariates in array format
- Xcol
receiver covariates in array format
- actorSet
vector of actors
- intercept
logical indicating whether to include intercept
- n
number of actors
- N
number of replicates
- pr
number of receiver covariates
- pc
number of sender covariates
- pd
number of dyadic covariates
- symmetric
logical; in a symmetric network a dyad has one covariate value, so a dyad is unobserved in a period when the dyadic covariate of either of its two cells is missing (
lamefills a hole in one triangle from the other before the design is built, so only a dyad missing in both reaches this rule)