title: Cluster one-dimensional data optimally?
body: <p>Does anyone have a paper that explains how the <a href="http://cran.r-project.org/web/packages/Ckmeans.1d.dp/" rel="noreferrer">Ckmeans.1d.dp</a> algorithm works?</p>
  
  <p>Or: what is the most optimal way to do k-means clustering in one-dimension? </p>