sdm_grid: Fit a grid of SDMs

Description Usage Arguments Value

View source: R/sdm_grid.R

Description

Fit a grid of SDMs

Usage

1
2
3
sdm_grid(data_args = NULL, predictor_args = NULL, sample_args = NULL,
  resample_args = NULL, fit_args = NULL, predict_args = NULL,
  score_args = NULL, n_cores = NULL, keep_cols = NULL, bind = TRUE)

Arguments

data_args

A list of (sf) data frames.

predictor_args

A list of RasterStacks with predictors.

sample_args

A list of arguments for sampling background points.

resample_args

A list of arguments for creating train/test splits.

fit_args

A list of arguments for fitting the models.

predict_args

A list of arguments for predicting the models.

score_args

A list of arguments for scoring the models.

n_cores

Default is NULL. Can be number of cores to use for parallel processing.

keep_cols

Default is NULL. Can be character vector to indicate which columns of model data frame to select.

Value

A data frame with resamples, model fits, predictions and scores.


juoe/sdmflow documentation built on Feb. 23, 2020, 7:38 p.m.