All functions

cbPen()

Generate Penalty Matrices for a DLNM

chicagoNMMAPS

Daily Mortality Weather and Pollution Data for Chicago

coef(<crosspred>) vcov(<crosspred>) coef(<crossreduce>) vcov(<crossreduce>)

Model Coefficients and their (Co)Variance Matrix of a DLNM

cr()

Generate a Basis Matrix for Penalized Cubic Regression Splines

crossbasis() summary(<crossbasis>)

Generate a Cross-Basis Matrix for a DLNM

crosspred() summary(<crosspred>)

Generate Predictions for a DLNM

crossreduce() summary(<crossreduce>)

Reduce the Fit of a DLNM to One-Dimensional Summaries

dlnm-package dlnm

Distributed Lag Non-linear Models (DLNM)

drug

A Trial on the Effect of Time-Varying Doses of a Drug

equalknots()

Define Knots at Equally-Spaced Values

exphist()

Define Exposure Histories from an Exposure Profile

integer()

Generate a Basis Matrix of Indicator Variables for Integer Values

lin()

Generate a Basis Matrix with a Variable as Linear

logknots()

Define Knots for Lag Space at Equally-Spaced Log-Values

nested

Nested Case-Control Study with a Time-Varying Exposure and a Cancer Outcome

onebasis() summary(<onebasis>)

Generate a Basis Matrix for Different Functions

plot(<crosspred>) lines(<crosspred>) points(<crosspred>)

Plot Predictions for a DLNM

plot(<crossreduce>) lines(<crossreduce>) points(<crossreduce>)

Plot Predictions for a Reduced DLNM

poly()

Generate a Basis Matrix of Polynomials

ps()

Generate a Basis Matrix for P-Splines

smooth.construct(<cb.smooth.spec>) Predict.matrix(<cb.smooth>)

Cross-Basis Spline Smooths for a DLNM

strata()

Generate a Basis Matrix of Indicator Variables

thr()

Generate a Basis Matrix of Linear Threshold Transformations