dens.hermite_estimator_univar: Estimates the probability density for a vector of x values

View source: R/hermite_estimator_univar.R

dens.hermite_estimator_univarR Documentation

Estimates the probability density for a vector of x values

Description

This method calculates the probability density values at a vector of x values using the hermite_estimator_univar object (h_est_obj).

Usage

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

Arguments

h_est_obj

A hermite_estimator_univar object.

x

A numeric vector. Values at which to estimate the probability density.

clipped

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

accelerate_series

A boolean value. This value determines whether Hermite series acceleration is applied.

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.