mycphSimple | R Documentation |
Fit Simple Proportional Hazards Regression Model
mycphSimple(fit, threshold = 0.2, digits = 2)
fit |
An object of class coxph |
threshold |
numeric p-value threshold to enter multiple model |
digits |
integer indicating the position decimal place |
An object of class "data.frame"
require(survival)
data(cancer)
fit=coxph(Surv(time,status)~age+sex+obstruct+perfor,data=colon)
mycphSimple(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.