All functions

checkFit()

checkFit: Generates log-likelihood and WAIC for tsbart fits. Called by tuneEcross function.

makeCutpoints()

makeCutpoints: Create list of cutpoints for a design matrix X.

makeModelMatrix()

makeModelMatrix: Create over-parameterized model matrix for tsBART fitting.

makePredGrid()

makePredGrid: Expand a data frame of predicted observations over a grid.

sim

Simulated cosine data with four covariates.

survPrep()

survPrep: Expand a data frame for survival analysis.

tsbart-package

tsbart: BART with Targeted Smoothing R Package

tsbart()

tsbart: Fits tsbart model for continuous or binary responses.

tuneEcross()

tuneEcross: Utility function for tuning expected number of crossings for tsbart().