Updates the parameters of the gaussians based on each possible run length, after taking into consideration the most recent data point
gaussian_update(datapt, update_params0, update_paramsT, Rlength,
skippt = FALSE)the current data point
The initialization parameters, corresponding to predicting a changepoint (run length=0)
The vectors of parameters corresponding to each possible run length, updated with each incoming data point
the length of the current vector of possible run lengths
set to FALSE if not needing to accommodate skipping missed points during the update of parameters
The list of the parameters for gaussians corresponding to each possible runlength up to the current data point. Lengths of vectors should correspond the length of the R vector ("run length vector")