Skip to contents

Produces various plots for visualizing glmsusie model results.

Usage

# S3 method for class 'glmsusie'
plot(x, which = c("coefficients", "probabilities", "sets"), n_top = 20, ...)

Arguments

x

A glmsusie object.

which

Integer or character string specifying which plot to create:

  • 1 or "coefficients": Plot of coefficient estimates

  • 2 or "probabilities": Plot of inclusion probabilities

  • 3 or "sets": Visualization of confidence sets

n_top

Integer specifying how many top coefficients to display.

...

Additional arguments passed to plotting functions.

Value

A ggplot2 object.