accessors {spduration} | R Documentation |
Accessor methods for spdur Objects
Description
Several standard accessor methods for a spdur
class object.
Usage
## S3 method for class 'spdur'
logLik(object, ...)
## S3 method for class 'spdur'
nobs(object, ...)
## S3 method for class 'spdur'
coef(object, model = c("full", "duration", "risk", "distr"), ...)
## S3 method for class 'spdur'
vcov(object, model = c("full", "duration", "risk", "distr"), ...)
## S3 method for class 'spdur'
model.matrix(object, model = c("duration", "risk"), ...)
## S3 method for class 'spdur'
terms(x, model = c("duration", "risk"), ...)
Arguments
object |
an object inheriting from class |
... |
not used |
model |
return full model, or only duration or risk equations, or distribution parameters. |
x |
|
See Also
Examples
data(model.coups)
logLik(model.coups)
nobs(model.coups)
coef(model.coups)
vcov(model.coups)
head(model.matrix(model.coups))
terms(model.coups)
[Package spduration version 0.17.2 Index]