Pushes new data through a cpt_monitor(), updating its
internal state and appending to its alarm log. The monitor is returned, so
the idiom is mon <- cpt_update(mon, new_obs).
Value
The updated ggcpt_monitor: the same structure as the
input (see cpt_monitor()), with t advanced by
the number of new observations (rows, for a matrix) and any new rows
appended to alarms.
Re-assign it: the monitor is a value, not a mutable object, so
cpt_update(mon, y) without assignment discards the update.
