pnp_lobagoc {S4DM} | R Documentation |
Internal function for fitting lobagoc distributions in plug-and-play SDMs.
Description
This function both fits lobagoc distributions (Drake 2014) and projects those distributions to new covariates.
Usage
pnp_lobagoc(data, method, object = NULL, v = 100, nu = 0.01, sigma = NULL)
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 |
Positive integer. The Number of votes to use (default is 100) |
nu |
Numeric. Tuning parameter for nu-svm |
sigma |
NULL or Numeric. Tuning parameter of rbf kernel, will estimate if left NULL (default). |
Details
For fitting, an object is not required (and will be ignored). For prediction, parameters v,nu,and sigma are not needed and will be ignored.
References
Drake JM (2014). “Ensemble algorithms for ecological niche modeling from presence‐background and presence‐only data.” Ecosphere, 5(6), 1–16. doi:10.1890/es13-00202.1, https://esajournals.onlinelibrary.wiley.com/doi/abs/10.1890/ES13-00202.1.