Description Usage Arguments Value Objects from the Class Slots Methods Author(s) References See Also Examples
A SurvivalModel
class represents the information for simulating
survival times for each patient.
1 2 3 4 5 6 7 |
baseHazard |
numeric scalar describing the underlying hazard rate at baseline levels of covariates |
accrual |
numeric scalar representing number of patient accrual years |
followUp |
numeric scalar representing length of follow up, in years |
units |
numeric scalar representing number of units per year where
units are specified by |
unitName |
character string representing the |
object |
object of class |
n |
numeric scalar specifying quantity of random numbers |
beta |
numeric vector specifying beta parameters for patients |
... |
extra arguments for generic routines |
The SurvivalModel
generator returns an object of class
SurvivalModel
.
The rand
method returns a data.frame with components:
LFU |
time to event |
Event |
whether the data is censored |
Although objects of the class can be created by a direct call to
new, the preferred method is to use the
SurvivalModel
generator function.
baseHazard
:see corresponding argument above
accrual
:see corresponding argument above
followUp
:see corresponding argument above
units
:see corresponding argument above
unitName
:see corresponding argument above
Simulate survival data for n
patients given beta
.
Kevin R. Coombes krc@silicovore.com, Jiexin Zhang jiexinzhang@mdanderson.org,
Zhang J, Coombes KR.
Sources of variation in false discovery rate estimation include
sample size, correlation, and inherent differences between groups.
BMC Bioinformatics. 2012; 13 Suppl 13:S1.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.