`R/treePlot.R`

plotting function to investigate hierarchical structure of selection

plotSelections(object, s = NULL, type = c("d3.tree"), ...)

object | fitted vennLasso object |
---|---|

s | lambda value for the predictions. Only one can be specified at a time |

type | type of plot to make. Currently only "d3.tree" and "igraph.tree" available |

... | other graphical parameters for the plot |

set.seed(123) dat.sim <- genHierSparseData(ncats = 3, nvars = 25, nobs = 200) fit <- vennLasso(x = dat.sim$x, y = dat.sim$y, groups = dat.sim$group.ind) plotSelections(fit, s = fit$lambda[32])