[R] Package or packages for randomization in a clinical trial

Marc Schwartz marc_schwartz at me.com
Tue Apr 21 15:34:11 CEST 2009


On Apr 21, 2009, at 5:12 AM, John Sorkin wrote:

> Can anyone recommend a package that can be used to randomize  
> subjects? I am looking for a generalized package, or several  
> packages that can accomplish
> unrestricted randomization (i.e. simple random assignment)
> restricted randomization including stratified randomization, blocked  
> randomization, and adaptive randomization.
> Thanks,
> John

John,

Take a look at the 'blockrand' and 'crossdes' packages on CRAN.

If you need something beyond those, it is not overly difficult to  
write functions in R to do this.

HTH,

Marc Schwartz




More information about the R-help mailing list