Skip to contents

Helper function to add axis to a plot.

Usage

plot_add_xy(plot, type = "both")

Arguments

plot

A ggplot object

type

One of "none", "x", "y", or "both" (default)