Learn R Programming

tidytreatment (version 0.3.1)

suhillsim2_ranef: Example simulated dataset 2: with subject specific random effects

Description

Simulated with simulate_su_hill_data(...), see details.

Usage

suhillsim2_ranef

Arguments

Format

See ?simulate_su_hill_data for output format.

Details

set.seed(101)
 suhillsim1 <- simulate_su_hill_data(n = 100, treatment_linear = FALSE,  omega = 0, add_categorical = TRUE,
   coef_categorical_treatment = c(0,0,1),
   coef_categorical_nontreatment = c(-1,0,-1), sd_subjects = 2, n_subjects = 10)