pnp_kde | R Documentation |
This function both fits Kernel Density Estimation (KDE) distributions and projects those distributions to new covariates..
pnp_kde(data, method, bwmethod = "normal-reference", object = NULL, ...)
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" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.