Learn R Programming

dlmtree (version 1.1.1)

dlnmPLEst: 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

dlnmPLEst(dlnm, predAt, nlags, nsamp, center)

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