dens.hermite_estimator_bivar: Estimates the probability densities for a matrix of 2-d x...

View source: R/hermite_estimator_bivar.R

dens.hermite_estimator_bivarR Documentation

Estimates the probability densities for a matrix of 2-d x values

Description

This method calculates the probability density values for a matrix of 2-d x vector values using the hermite_estimator_bivar object (h_est_obj).

Usage

## S3 method for class 'hermite_estimator_bivar'
dens(h_est_obj, x, clipped = FALSE, accelerate_series = FALSE)

Arguments

h_est_obj

A hermite_estimator_bivar object.

x

A numeric matrix. Each row corresponds to a 2-d coordinate.

clipped

A boolean value. This value determines whether probability densities are clipped to be bigger than zero.

accelerate_series

A boolean value. Series acceleration has not yet been implemented for bivariate estimators.

Details

The object must be updated with observations prior to the use of the method.

Value

A numeric vector of probability density values.


hermiter documentation built on May 29, 2024, 2:09 a.m.