Learn R Programming

modTempEff (version 1.5.2)

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

Description

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

Usage

"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).

Value

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

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.

See Also

tempeff

Examples

Run this code
## Not run: 
#  #continues from ?tempeff
#  coef(o1,"heat",L=7) #log RR for heat corresponding to lag 0 to 7
# ## End(Not run)

Run the code above in your browser using DataLab