simulate_beta_random_effect_data: Simulate beta data

View source: R/simulate_beta_data.R

simulate_beta_random_effect_dataR 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


chvlyl/ZIBR documentation built on Oct. 22, 2023, 1:06 p.m.