Plot the result of clusterpath for a 2d data set. In this case, the breakpoints in the clusterpath data frame are not sufficient to visualize the correct path of solutions in 2d. You need additional breakpoints, which are calculated by castbreakpoints before plotting using ggplot2.
clusterpath data frame as returned by clusterpath.l1.id.
Toby Dylan Hocking
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.