summary.epiSurv {SimHap} | R Documentation |
Summary method for objects of class epiSurv
## S3 method for class 'epiSurv': summary(object, ...) ## S3 method for class 'summary.epiSurv': print(x, digits = max(3, getOption("digits") - 3), signif.stars = getOption("show.signif.stars"), ...)
object |
an object of class epiSurv , a result of a call to epi.surv . |
x |
an object of class summary.epiSurv , the result of a call to summary.epiSurv. |
digits |
the number of significant digits to use when printing. |
signif.stars |
logical. If TRUE , ``significance stars" are printed for each coefficient. |
... |
further arguments passed to or from other methods. |
summary.epiSurv
returns an object of class summary.epiSurv, a list with components
terms |
terms attribute of formula called in epi.surv . |
coefficients |
summarized results from fitted model, including hazard ratios and p-values. |
formula |
formula used in epi.surv . |
Wald |
Wald statistic for the fitted model. |
rsquared |
adjusted r-squared values for the fitted model. |
residuals |
the residuals, that is response minus fitted values. |
Pamela A McCaskie
McCaskie, P.A., Carter, K.W. Hazelton, M., Palmer, L.J. (2007) SimHap: A comprehensive modeling framework for epidemiological outcomes and a multiple-imputation approach to haplotypic analysis of population-based data, [online] www.genepi.org.au/simhap.
data(survPheno.dat) mymodel <- epi.surv(formula=Surv(time, status)~age, pheno=survPheno.dat) summary(mymodel) # example with subsetting variable mymodel <- epi.surv(formula=Surv(time, status)~age, pheno=survPheno.dat, sub=expression(sex==1))