View source: R/summary.penmodel_c.R
summary.penmodel_c | R Documentation |
penmodel_c
Provides a summary of a fitted competing risks penetrance model.
## S3 method for class 'penmodel_c' summary(object, correlation=FALSE, ...)
object |
An object class of |
correlation |
Logical; if |
... |
Further arguments passed to or from other methods. |
Returns the object of class 'summary.penmodel_c'
, including the following summary values:
estimates |
List of parameter estimates of transformed baseline parameters and regression coefficients, their standard errors, their robust standard errors if |
varcov |
Variance-covariance matrix of the parameter estimates. |
varcov.robust |
Robust variance-covariance matrix of the parameter estimates if |
correlation |
Correlation matrix obtained from the variance-covariance matrix. |
correlation.robust |
Correlation matrix obtained from the robust variance-covariance matrix if |
Yun-Hee Choi
penmodel_c, print.penmodel_c, print.summary.penmodel_c plot.penmodel_c
# Simulated family completing risks data ## Not run: set.seed(4321) fam1 <- simfam_c(N.fam = 300, design = "pop+", variation = "frailty", competing=TRUE, base.dist = "Weibull", frailty.dist = "gamma", depend=c(0.5, 1), allelefreq = 0.02, base.parms = list(c(0.01, 3), c(0.01, 3)), vbeta = list(c(-1.13, 2.35),c(-1, 2))) # Penetrance model fit for the simulated family data fit <- penmodel_c( formula1 = Surv(time, status==1) ~ gender + mgene, formula2 = Surv(time, status==2) ~ gender + mgene, cluster = "famID", parms = list(c(0.01, 3, -1.13, 2.35), c(0.01, 3, -1, 2)), data = fam1, design = "pop+", base.dist = "Weibull") # Summary of the model parameter and penetrance estimates from model fit summary(fit) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.