`ExactPath`

implements an algorithm for exact LASSO solution. Two methods are provided to print and visualize the whole solution paths. Use `?ExactPath`

to see an introduction. Packages `ncvreg`

and `lars`

are required so that their data sets can be used in examples.

Package: | ExactPath |

Type: | Package |

Version: | 1.0 |

Date: | 2013-02-05 |

License: | GPL (>=2) |

LazyLoad: | yes |

Kai Wang `<kai-wang@uiowa.edu>`

Wang K. (2013) Exact LASSO linear regression. Submitted.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ```
library(ncvreg)
data(prostate)
myfit = exact.path(as.matrix(prostate[,-9]), prostate$lpsa, verbose=TRUE)
myfit
plot(myfit)
library(ncvreg)
data(heart)
myfit = exact.path(as.matrix(heart[,-1]), heart$sbp)
myfit
plot(myfit)
library(lars)
data(diabetes)
myfit = exact.path(diabetes$x, diabetes$y, verbose=TRUE)
myfit
plot(myfit)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.