View source: R/hermite_estimator_bivar.R
density.hermite_estimator_bivar | R Documentation |
The hermite_estimator_bivar object, x must be updated with observations prior to the use of the method.
## S3 method for class 'hermite_estimator_bivar'
density(x, x_lower = NA, x_upper = NA, ...)
x |
A hermite_estimator_bivar object. |
x_lower |
A numeric vector. This vector determines the lower limit of x values at which to evaluate the density. |
x_upper |
A numeric vector. This vector determines the upper limit of x values at which to evaluate the density. |
... |
Additional arguments for the dens function. |
A hdensity_bivar object whose underlying structure is a list containing the following components.
x: The points at which the density is calculated. x_vals_1: Marginal quantiles of first random variable, used for plotting. x_vals_2: Marginal quantiles of second random variable, used for plotting. 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.