Description Usage Arguments Value
View source: R/gen_data_traj.R
Generate data for a single trajectory model
1 |
N: |
Integer, number of units |
T1: |
Integer, number of time periods |
pi1: |
Vector, probability of being assigned to each group |
beta: |
Matrix, coefficients for each group |
sigma: |
Float, variance for outcomes in series 1 |
zeta: |
Matrix, coefficients for group memberships |
scale: |
Boolean, TRUE to scale design matrix |
List:
X1: Matrix, dataset
Y1: Vector, outcomes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.