R/flexsurvreg.R
nobs.flexsurvreg.Rd
Number of observations contributing to a fitted flexible survival model
# S3 method for flexsurvreg nobs(object, ...)
object | Output from |
---|---|
... | Further arguments passed to or from other methods. Currently unused. |
This returns the mod$N
component of the fitted
model object mod
. See flexsurvreg
,
flexsurvspline
for full documentation of all components.
This matches the behaviour of the nobs
method for survreg
objects, including both censored and uncensored observations.
C. H. Jackson chris.jackson@mrc-bsu.cam.ac.uk