View source: R/pnp_rangebagging.R
pnp_rangebagging | R Documentation |
This function both fits rangebagging models \insertCiteDrake2015-sbS4DM and projects those distributions to new covariates.
pnp_rangebagging(data, method, object = NULL, v = 100, d = 2, p = 0.5)
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 |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.