Description Usage Arguments Details
View source: R/macro_nb_generators.R
Generates a notebook for a BART model.
1 2 3 4 5 6 7 8 |
data |
Dataset from which to generate the notebook. Defaults to the macroeconomic data set from this package using all variables. |
agc |
List of atomic prediction generation controllers. The first element of the list gives the starting time (ie what observation is considered as t = 1), the second element is the minimum window length used for estimation, and the third one is a boolean indicating if the estimation window is rolling or not, the forth indicates which variable is the response variable and it defaults to 1 (GDP). |
lags |
The order of the VAR. Defaults to 1. |
include_intercept |
Whether to include an intercep in the design matrix or not. Defaults to FALSE since the intercept breaks the function. |
nrep |
Number of MCMC draws (after burn-in) |
nburn |
Number of burn-in draws |
Uses default settings in dbarts.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.