John Sorkin
2009-Apr-21 10:12 UTC
[R] Package or packages for randomization in a clinical trial
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 David Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics University of Maryland School of Medicine Division of Gerontology Baltimore VA Medical Center 10 North Greene Street GRECC (BT/18/GR) Baltimore, MD 21201-1524 (Phone) 410-605-7119 (Fax) 410-605-7913 (Please call phone number above prior to faxing) Confidentiality Statement: This email message, including any attachments, is for th...{{dropped:6}}
Marc Schwartz
2009-Apr-21 13:34 UTC
[R] Package or packages for randomization in a clinical trial
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, > JohnJohn, 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