Description Usage Arguments Examples

Plots the solution path of a `grplasso`

object.

1 2 |

`x` |
a |

`type` |
type = "coefficients" plots coefficients with respect to
the input variables, even if |

`col` |
a vector indicating the color of the different group
paths. The length should equal the number of |

`...` |
other parameters to be passed to the plotting functions. |

1 2 3 4 5 6 7 8 9 10 11 | ```
data(splice)
contr <- list(Pos.1 = "contr.sum", Pos.2 = "contr.sum")
lambda <- lambdamax(y ~ Pos.1 * Pos.2, data = splice, model = LogReg(),
contrasts = contr, standardize = TRUE) * 0.8^(0:8)
fit <- grplasso(y ~ Pos.1 * Pos.2, data = splice, model = LogReg(),
lambda = lambda, contrasts = contr, standardize = TRUE,
control = grpl.control(trace = 0, inner.loops = 0,
update.every = 1, update.hess = "lambda"))
plot(fit, log = "x")
``` |

```
There were 50 or more warnings (use warnings() to see the first 50)
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.