View source: R/hermite_estimator.R
update_sequential | R Documentation |
This method can be applied in sequential estimation settings.
update_sequential(h_est_obj, x)
h_est_obj |
A hermite_estimator_univar or hermite_estimator_bivar object. |
x |
A numeric vector or matrix. Observations to be incorporated into the estimator. Note that for univariate estimators, x is a numeric vector whereas for bivariate estimators, x is a numeric vector of length 2 or a n x 2 matrix with n bivariate observations to be incorporated into the estimator. |
An object of class hermite_estimator_univar or hermite_estimator_bivar.
## Not run:
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))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.