How to perform randomization of observations into two groups(treatment and placebo) based on categorical variable with >2 levels?

前端 未结 0 1386
刺人心
刺人心 2020-12-07 23:28

I do have a dataset with participant id and Gender. I want to randomly assign treatment and placebo to male and female participants separately (50% in treatment and 50% in p

相关标签:
回答
  • 消灭零回复
提交回复
热议问题