Export coxph summary and proportional hazard test
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## S3 method for class 'coxph'
export(
x, ## coxph object
file=NULL, ## file .tab
coef=FALSE, ## print beta?
se.coef=FALSE, ## print se(beta)?
z=FALSE, ## print z
p=TRUE, ## print p
exp.coef=TRUE, ## print exp(beta)
exp.coef.lci=TRUE, ## print confint(beta) low
exp.coef.uci=TRUE, ## print confint(beta) upper
print.formula=TRUE, ## print formula
print.n=TRUE, ## print n and n of events
print.tests=TRUE, ## print lrt, score, wald test
print.ph.test=TRUE, ## print prop hazard test
...
)
|
x |
coxph object |
file |
file to save |
coef |
print beta |
se.coef |
print se beta |
z |
print z |
p |
print p |
exp.coef |
print exp(beta) |
exp.coef.lci |
print low confint(beta) |
exp.coef.uci |
print upper confint(beta) |
print.formula |
print formula |
print.n |
print n and n of events |
print.tests |
print lrt, score, wald test |
print.ph.test |
print prop hazard test |
... |
other misc arguments (future use) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.