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, ...)
dataframe of covariates
one of either "fit" or "predict"
Bandwidth method to use. One of 'normal-reference' (the default),'cv.ml', or 'cv.ls'
fitted object returned by a pnp_... function. Only needed when method = "predict"