pnp_kde {S4DM} | R Documentation |
Internal function for fitting KDE distributions in plug-and-play SDMs.
Description
This function both fits Kernel Density Estimation (KDE) distributions and projects those distributions to new covariates..
Usage
pnp_kde(data, method, bwmethod = "normal-reference", object = NULL, ...)
Arguments
data |
dataframe of covariates |
method |
one of either "fit" or "predict" |
bwmethod |
Bandwidth method to use. One of 'normal-reference' (the default),'cv.ml', or 'cv.ls' |
object |
fitted object returned by a pnp_... function. Only needed when method = "predict" |
[Package S4DM version 0.0.1 Index]