Learn R Programming

S4DM (version 0.0.1)

pnp_gaussian: Internal function for fitting gaussian distributions in plug-and-play SDMs.

Description

This function both fits distributions and projects those distributions to new covariates..

Usage

pnp_gaussian(data, method, type = "regularized", object = NULL)

Arguments

data

dataframe of covariates

method

one of either "fit" or "predict"

type

one of either "classical", "robust", or "regularized" (the default)

object

fitted object returned by a pnp_... function. Only needed when method = "predict"