coef.modTempEff {modTempEff} | R Documentation |
The function extracts the estimated coefficients of the DL curves for cold and/or heat effect.
coef.modTempEff(object, which = c("cold", "heat"), L, ...)
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). |
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.
A matrix with DL coefficients. Each row corresponds to a specific lag.
Vito Muggeo
## Not run: #continues from ?tempeff coef(o1,"heat",L=7) #log RR for heat corresponding to lag 0 to 7 ## End(Not run)