# Bayesian Treed Distributed Lag Models

## Documentation for package ‘dlmtree’ version 1.1.1

- DESCRIPTION file.
- Package NEWS.

## Help Pages

adj_coexposure | Adjusting for expected changes in co-exposure (TDLMM)
coExp | Randomly sampled exposure from Colorado counties
combine.models | Combines information from DLMs of single exposure
combine.models.tdlmm | Combines information from DLMs of mixture exposures.
cppIntersection | fast set intersection tool assumes sorted vectors A and B
diagnose | diagnose
diagnose.summary.hdlm | diagnose
diagnose.summary.hdlmm | diagnose
diagnose.summary.monotone | diagnose
diagnose.summary.tdlm | diagnose
diagnose.summary.tdlmm | diagnose
diagnose.summary.tdlnm | diagnose
dlmEst | Calculates the distributed lag effect with DLM matrix for linear models.
dlmtree | Fit tree structured distributed lag models
dlmtree.control.diagnose | Diagnostic control settings for dlmtree model fitting
dlmtree.control.family | Family control settings for dlmtree model fitting
dlmtree.control.het | Control settings for dlmtree model fitting, when used for heterogeneous models
dlmtree.control.hyper | Hyperparameter control settings for dlmtree model fitting
dlmtree.control.mcmc | MCMC control settings for dlmtree model fitting
dlmtree.control.mix | Control settings for dlmtree model fitting, when used for mixture models
dlmtree.control.monotone | Control settings for dlmtree model fitting, when used for monotone model
dlmtree.control.tdlnm | Control settings for dlmtree model fitting, when used for TDLNM
dlmtreeGPFixedGaussian | dlmtree model with fixed Gaussian process approach
dlmtreeGPGaussian | dlmtree model with Gaussian process approach
dlmtreeHDLMGaussian | dlmtree model with shared HDLM approach
dlmtreeHDLMMGaussian | dlmtree model with HDLMM approach
dlmtreeTDLMFixedGaussian | dlmtree model with fixed Gaussian approach
dlmtreeTDLMNestedGaussian | dlmtree model with nested Gaussian approach
dlmtreeTDLM_cpp | dlmtree model with nested HDLM approach
dlnmEst | Calculates the distributed lag effect with DLM matrix for non-linear models.
dlnmPLEst | Calculates the distributed lag effect with DLM matrix for non-linear models.
drawTree | Draws a new tree structure
estDLM | Calculates subgroup-specific lag effects for heterogeneous models
exposureCov | Exposure covariance structure
get_sbd_dlmtree | Download simulated data for dlmtree articles
mixEst | Calculates the lagged interaction effects with MIX matrix for linear models.
monotdlnm_Cpp | dlmtree model with monotone tdlnm approach
pip | Calculates posterior inclusion probabilities (PIPs) for modifiers in HDLM & HDLMM
plot.summary.monotone | Returns variety of plots for model summary of class 'monotone'
plot.summary.tdlm | Plots a distributed lag function for model summary of 'tdlm'
plot.summary.tdlmm | Plots DLMMs for model summary of class 'tdlmm'
plot.summary.tdlnm | Returns variety of plots for model summary of class 'tdlnm'
pm25Exposures | PM2.5 Exposure data
ppRange | Makes a 'pretty' output of a group of numbers
predict | predict
predict.hdlm | predict
predict.hdlmm | predict
print | print
print.hdlm | print
print.hdlmm | print
print.monotone | print
print.summary.hdlm | print
print.summary.hdlmm | print
print.summary.monotone | print
print.summary.tdlm | print
print.summary.tdlmm | print
print.summary.tdlnm | print
print.tdlm | print
print.tdlmm | print
print.tdlnm | print
rcpp_pgdraw | Multiple draw polya gamma latent variable for var c[i] with size b[i]
rtmvnorm | Truncated multivariate normal sampler, mean mu, cov sigma, truncated (0, Inf)
ruleIdx | Calculates the weights for each modifier rule
scaleModelMatrix | Centers and scales a matrix
shiny | shiny
shiny.hdlm | shiny
shiny.hdlmm | shiny
sim.hdlmm | Creates simulated data for HDLM & HDLMM
sim.tdlmm | Creates simulated data for TDLM & TDLMM
sim.tdlnm | Creates simulated data for TDLNM
splitPIP | Calculates the posterior inclusion probability (PIP).
splitpoints | Determines split points for continuous modifiers
summary | summary
summary.hdlm | summary
summary.hdlmm | summary
summary.monotone | summary
summary.tdlm | summary
summary.tdlmm | summary
summary.tdlnm | summary
tdlmm_Cpp | dlmtree model with tdlmm approach
tdlnm_Cpp | dlmtree model with tdlnm approach
zeroToInfNormCDF | Integrates (0,inf) over multivariate normal
zinbCo | Time-series exposure data for ZINB simulated data