Description Usage Arguments Value Author(s) References See Also Examples
View source: R/analyseTime2Effect.R
A wrapper function for the coxme
function from the coxme package.
Coxme is a mixed effects version of cox proportional models for comparison
of time to event data taking into account censoring events.
1 | analyseTime2Effect(Data, StatusVar, TimeVar, TreatmentVar, ReplicateVar)
|
Data |
A data set. |
StatusVar |
The name (as a string) of the status variable. |
TimeVar |
The name (as a string) of the time variable. |
TreatmentVar |
The name (as a string) of the treatment variable. |
ReplicateVar |
The name (as a string) of the replicate variable. |
Returns a list with the following values:
FitME |
The results from |
FitHP |
The results from |
FitS |
The results from |
EffectsTable |
A dunnett table from |
MedianTable |
A table showing the median time to effect along with the median's 95% confidence intervals. See |
Joe Swintek
Ripatti and J Palmgren, Estimation of multivariate frailty models using penalized partial likelihood, Biometrics 56:1016-1022, 2000.
T Therneau, P Grambsch and VS Pankratz, Penalized survival models and frailty, J Computational and Graphical Statistics 12:156-175, 2003.
1 2 3 4 5 | #Data
data(eventTimeData)
#Run
analyseTime2Effect(Data=eventTimeData, StatusVar='Status',
TimeVar='Time', TreatmentVar='Trt', ReplicateVar='Rep')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.