add_steps: Wrapper to add steps to nested loop plot

View source: R/nested_loop.R

add_stepsR Documentation

Wrapper to add steps to nested loop plot

Description

All parameters not explicitly described here are simply passed to geom_step.

Usage

add_steps(p, position = "bottom", ...)

Arguments

p

ggplot2 object, output from nested_loop_plot function.

position

Position of the geometry layer, either "bottom" or "top". By default steps are added below all other layers in the plot to not obscure them, but by setting position to "top", these steps can also be plotted above other lines.

Details

Simple wrapper for geom_step to add steps to nested loop plot.

Value

A ggplot2 object.


matherealize/looplot documentation built on Jan. 14, 2024, 2:07 a.m.