View source: R/utility_functions.R
keep_balance | R Documentation |
keeps balance of groups in designs with between-subject variables
keep_balance(final_data, simvar, fixed_effects, n_want)
final_data |
simulated data |
simvar |
variable that is changed in simulation process |
fixed_effects |
fixed effects in model used to simulate data |
n_want |
levels of simvar the data should have |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.