fit_bart_model: Fit a BART Model Using Environmental Covariate Layers

View source: R/bart_functions.R

fit_bart_modelR 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.

Value

A BART model object.


glossa documentation built on Oct. 15, 2024, 5:08 p.m.