pnp_rangebagging {S4DM}R Documentation

Internal function for rangebagging in plug-and-play SDMs.

Description

This function both fits rangebagging models (Drake 2015) and projects those distributions to new covariates.

Usage

pnp_rangebagging(data, method, object = NULL, v = 100, d = 2, p = 0.5)

Arguments

data

dataframe of covariates

method

one of either "fit" or "predict"

object

fitted object returned by a pnp_... function. Only needed when method = "predict"

v

Integer. Number of votes to use in the aggregation, default is 100.

d

Integer. Number of dimensions (i.e. covariates) to use in aggregations, default is 2.

p

Numeric. Fraction of observations (i.e. occurrences) to use in each replicate aggregation. Default is 0.5

Details

For fitting, an object is not required (and will be ignored). For prediction, parameters v,p,and d are not needed and will be ignored.

References

Drake JM (2015). “Range bagging: a new method for ecological niche modelling from presence-only data.” J. R. Soc. Interface, 12(107). http://dx.doi.org/10.1098/rsif.2015.0086.


[Package S4DM version 0.0.1 Index]