coef.modTempEff: Extract DL coefficients from a 'modTempEff' object

Description Usage Arguments Details Value Author(s) See Also Examples

Description

The function extracts the estimated coefficients of the DL curves for cold and/or heat effect.

Usage

1
2
## S3 method for class 'modTempEff'
coef(object, which = c("cold", "heat"), L, ...)

Arguments

object

the "modTempEff" object returned by tempeff.

which

which DL curve should be returned?

L

the number of DL coefficients required. 'L+1' coefficients for lags 0 to L are returned.

...

additional arguments (ignored).

Details

The resulting estimates, returned as a matrix, are DL coefficients for the cold and/or the heat effect. Each coefficient at specific lag represents the log relative risk (of mortality) for one-unit increase in cold (or heat) values.

Value

A matrix with DL coefficients. Each row corresponds to a specific lag.

Author(s)

Vito Muggeo

See Also

tempeff

Examples

1
2
3
4
5
## Not run: 
 #continues from ?tempeff
 coef(o1,"heat",L=7) #log RR for heat corresponding to lag 0 to 7

## End(Not run)

modTempEff documentation built on May 1, 2019, 10:08 p.m.