density.hermite_estimator_univar: Creates an object summarizing the PDF with associated generic...

View source: R/hermite_estimator_univar.R

density.hermite_estimator_univarR Documentation

Creates an object summarizing the PDF with associated generic methods print and plot.

Description

The hermite_estimator_univar, x must be updated with observations prior to the use of the method.

Usage

## S3 method for class 'hermite_estimator_univar'
density(x, x_lower = NA, x_upper = NA, ...)

Arguments

x

A hermite_estimator_univar object.

x_lower

A numeric value. This value determines the lower limit of x values at which to evaluate the density.

x_upper

A numeric value. This value determines the upper limit of x values at which to evaluate the density.

...

Additional arguments for the dens function.

Value

A hdensity_univar object whose underlying structure is a list containing the following components.

x: The points at which the density is calculated. density_vals: The density values at the points x. num_obs: The number of observations used to form the Hermite density estimates. N: The number of terms N in the Hermite series estimator.


hermiter documentation built on May 31, 2023, 6:30 p.m.