nobs.flexsurvreg | R Documentation |
Number of observations contributing to a fitted flexible survival model
## S3 method for class 'flexsurvreg' nobs(object, ...)
object |
Output from |
... |
Further arguments passed to or from other methods. Currently unused. |
This matches the behaviour of the nobs
method for survreg
objects, including both censored and uncensored observations.
This returns the mod$N
component of the fitted
model object mod
. See flexsurvreg
,
flexsurvspline
for full documentation of all components.
C. H. Jackson chris.jackson@mrc-bsu.cam.ac.uk
flexsurvreg
, flexsurvspline
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.