castbreakpoints: castbreakpoints

Description Usage Arguments Value Author(s) Examples

Description

Cast the variables in a clusterpath l1 data frame into the columns of a new data frame, to facilitate plotting in [23]d. In practice this is quite a bit faster than brute-force plotting all points returned by predict.clusterpath.

Usage

1

Arguments

df

clusterpath data frame.

Value

Data frame with a row for every breakpoint in the dimensionality of the problem, suitable for plotting with lines in the high dimension to represent the entire linear path of optimal solutions for the l1 problem.

Author(s)

Toby Dylan Hocking

Examples

1
2
3
4
5

clusterpath documentation built on June 30, 2020, 3:02 a.m.