Learn R Programming

dlmtree (version 1.1.1)

dlnmEst: Calculates the distributed lag effect with DLM matrix for non-linear models.

Description

Calculates the distributed lag effect with DLM matrix for non-linear models.

Usage

dlnmEst(dlnm, predAt, nlags, nsamp, center, se)

Value

A cube object of lag effect x lag x mcmc

Arguments

dlnm

A numeric matrix containing the model fit information

predAt

Number of splits in the model

nlags

total number of lags

nsamp

number of mcmc iterations

center

center parameter

se

Standard error parameter