update_sequential: Updates the Hermite series based estimator sequentially

Description Usage Arguments Value Examples

View source: R/hermite_estimator.R

Description

This method can be applied in sequential estimation settings.

Usage

1

Arguments

this

A hermite_estimator_univar or hermite_estimator_bivar object.

x

A numeric value or vector. An observation to be incorporated into the estimator. Note that for univariate estimators, x is a numeric value whereas for bivariate estimators, x is a numeric vector of length 2.

Value

An object of class hermite_estimator_univar or hermite_estimator_bivar.

Examples

1
2
3
4
5
6
hermite_est <- hermite_estimator(N = 10, standardize = TRUE, 
est_type="univariate")
hermite_est <- update_sequential(hermite_est, x = 2)
hermite_est <- hermite_estimator(N = 10, standardize = TRUE, 
est_type="bivariate")
hermite_est <- update_sequential(hermite_est, x = c(1,2))

hermiter documentation built on Nov. 17, 2021, 1:07 a.m.