simulate_logistic_data: Simulate logistic data

View source: R/simulate_logistic_data.R

simulate_logistic_dataR Documentation

Simulate logistic data

Description

Simulate logistic data

Usage

simulate_logistic_data(
  subject_n = 50,
  time_n = 5,
  alpha = as.matrix(c(0, 0.5, -1)),
  s1 = 0.5,
  sim_seed = 100
)

Arguments

subject_n

the number of subjects

time_n

the number of time points

alpha

FILL

s1

FILL

sim_seed

the random seed with which to simulate the data

Value

a named list

  • X

  • Y

  • b

  • subject_ind

  • time_ind


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