[EMAIL PROTECTED] wrote:
> Hi,
>
> I would like to repeatedly create some simulated survival data.
>
> Is there an R package that has a function that can do this?
>
> I would like to simulate a clinical trial that has 2 study arms and the
> outcome of interest is measured up to 30 days from randomization.
>
> Thanks for the help.
> Peter
library(Hmisc)
?spower
--
Frank E Harrell Jr Professor and Chair School of Medicine
Department of Biostatistics Vanderbilt University
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html