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 spdur.

...

not used

model

return full model, or only duration or risk equations, or distribution parameters.

x

spdur class object for terms

See Also

AIC.spdur, BIC.spdur

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]