View source: R/initialize_states.R
| initialize_states_using_previous_fit | R Documentation |
This function assumes that the provided y is a continuation of the time
series used to derive the provided object. The first length(object$y)
observations should be equal across y and object$y.
initialize_states_using_previous_fit(
object,
y,
use_new_residuals_for_anomaly_candidates = FALSE
)
object |
The fitted model object returned by |
y |
A time series as numeric vector, may include NAs for some (but not all) of the observations |
use_new_residuals_for_anomaly_candidates |
Logical (default |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.