Initialize an empty sufficient-statistics accumulator
Source:R/sufficient_stats.R
init_accumulator.RdAllocates a zero-filled accumulator with the correct dimensions to receive
batched calls to accumulate_stats(). Use this once before a
streaming loop over data batches or nodes.
Value
A list of class "vcmm_accumulator" with the same six
matrix slots as compute_sufficient_stats(), all initialised to
zero, plus n_obs = 0L.
See also
Other sufficient statistics:
accumulate_stats(),
compute_sufficient_stats()