fit_bart_model {glossa} | R Documentation |
Fit a BART Model Using Environmental Covariate Layers
Description
This function fits a Bayesian Additive Regression Trees (BART) model using presence/absence data and environmental covariate layers.
Usage
fit_bart_model(y, x, seed = NULL, ...)
Arguments
y |
A numeric vector indicating presence (1) or absence (0). |
x |
A data frame with the same number of rows as the length of the vector 'y', containing the covariate values. |
seed |
An optional integer value for setting the random seed for reproducibility. |
... |
Additional arguments passed to 'dbarts::bart()'. |
Value
A BART model object.
[Package glossa version 1.2.2 Index]