fct function

Generate design for a factor covariate