Updates the goodness of fit statistic.
segments which is to be merged with the segment that is adjacent to its right.
A list with 'gof', 'right', 'left', 'D', and 'size' comonents.
Called by the e.agglo method, and should not be called by the user.
Returns a real number. This is the updated goodness of fit statistic.
Nicholas A. James
James NA, Matteson DS (2013). A Nonparametric Approach for Multiple Change Point Analysis of Multivariate Data.
Nicholas A. James, David S. Matteson (2014). "ecp: An R Package for Nonparametric Multiple Change Point Analysis of Multivariate Data.", "Journal of Statistical Software, 62(7), 1-25", URL "http://www.jstatsoft.org/v62/i07/"
Rizzo ML, Szekely GL (2005). Hierarchical clustering via joint between-within distances: Extending ward's minimum variance method. Journal of Classification. pp. 151 - 183.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.