f_biodiv_modgis: f_biodiv_modgis

View source: R/f_biodiv_modgis.R

f_biodiv_modgisR Documentation

f_biodiv_modgis

Description

Run the Random Forest model

Usage

f_biodiv_modgis(data, metric, x = "longitude", y = "latitude",
  date = NULL, num_coord = 40, log_transform = TRUE,
  strata = c("id_site", "localite"), plot_var_imp = TRUE)

Arguments

data

[data frame] The data

metric

[string] Column name of the variable to be modeled

x

[string] Column name of the longitude

y

[string] Column name of the latitude

date

[date] Date

num_coord

[numeric] Number of coordinates to project

log_transform

[boolean] If TRUE, log-transform response

strata

[string] Vector of strata

plot_var_imp

[boolean] If TRUE, variables importances are plotted

Value

a Random Forest object

Author(s)

Nicolas CASAJUS, nicolas.casajus@fondationbiodiversite.fr

Examples


# See vignette()


cesco-lab/Vigie-Chiro_scripts documentation built on April 4, 2024, 4:27 a.m.