add_lines: Wrapper to add lines to nested loop plot

View source: R/nested_loop.R

add_linesR Documentation

Wrapper to add lines to nested loop plot

Description

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

Usage

add_lines(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 lines are added below all other layers in the plot to not obscure them, but by setting position to "top", these lines can also be plotted above other lines.

Details

Simple wrapper for geom_line to add lines to nested loop plot.

Value

A ggplot2 object.


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