simulate_beta_random_effect_data {ZIBR} | R Documentation |
Simulate beta data
Description
Simulate beta data
Usage
simulate_beta_random_effect_data(
subject_n = 50,
time_n = 5,
v = 2,
beta = as.matrix(c(-0.5, -0.5, 0.5)),
Z = NA,
s2 = 1,
sim_seed = 100
)
Arguments
subject_n |
the number of subjects |
time_n |
the number of time points |
v |
FILL |
beta |
FILL |
Z |
FILL |
s2 |
FILL |
sim_seed |
the random seed with which to simulate the data |
Value
a named list
Y
Z
c
u
v
beta
s2
subject_ind
time_ind
[Package ZIBR version 1.0.2 Index]