View source: R/simulate_beta_data.R
simulate_beta_random_effect_data | R Documentation |
Simulate beta data
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
)
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 |
a named list
Y
Z
c
u
v
beta
s2
subject_ind
time_ind
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.