vcov.coxph | R Documentation |
Extract and return the variance-covariance matrix.
## S3 method for class 'coxph'
vcov(object, complete=TRUE, ...)
## S3 method for class 'survreg'
vcov(object, complete=TRUE, ...)
object |
a fitted model object |
complete |
logical indicating if the full variance-covariance
matrix should be returned. This has an effect only for an
over-determined fit where some of the coefficients are undefined,
and |
... |
additional arguments for method functions |
For the coxph
and survreg
functions the returned matrix
is a particular generalized inverse: the row and column corresponding
to any NA coefficients will be zero. This is a side effect of the
generalized cholesky decomposion used in the unerlying compuatation.
a matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.