View source: R/bart_functions.R
fit_bart_model | R Documentation |
This function fits a Bayesian Additive Regression Trees (BART) model using presence/absence data and environmental covariate layers.
fit_bart_model(y, x, seed = NULL)
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. |
A BART model object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.