This function make a random experimental group.

create_exp_grp(n, plates = NA, sex = F, age = F)

Arguments

n

The number of patients

plates

NA by default, if you want a plate effect put a vector of plates names.

sex

False by default, True if you want a sex parameter.

age

False by defaul, True if you want an age parameter.

Value

This function return a dataframe with different random covariables.