model.frame.flexsurvreg | R Documentation |
flexsurvreg
objects.Extract the data from a model fitted with flexsurvreg
.
## S3 method for class 'flexsurvreg'
model.frame(formula, ...)
## S3 method for class 'flexsurvreg'
model.matrix(object, par = NULL, ...)
formula |
A fitted model object, as returned by
|
... |
Further arguments (not used). |
object |
A fitted model object, as returned by
|
par |
String naming the parameter whose linear model matrix is desired. The default value of |
model.frame
returns a data frame with all the original
variables used for the model fit.
model.matrix
returns a design matrix for a part of the model that
includes covariates. The required part is indicated by the "par"
argument (see above).
C. H. Jackson chris.jackson@mrc-bsu.cam.ac.uk
flexsurvreg
, model.frame
,
model.matrix
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.