pnp_kde: Internal function for fitting KDE distributions in...

View source: R/pnp_kde.R

pnp_kdeR 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"


bmaitner/pbsdm documentation built on Feb. 8, 2025, 2:27 p.m.