add_extra_ribbon_data: Add extra data for decreasing-sized polygons which will be...

View source: R/plot-selex-mountains.R

add_extra_ribbon_dataR Documentation

Add extra data for decreasing-sized polygons which will be used to make ribbons, one inside the other. See plot_selex_mountains()

Description

Add extra data for decreasing-sized polygons which will be used to make ribbons, one inside the other. See plot_selex_mountains()

Usage

add_extra_ribbon_data(d, prop_seq)

Arguments

d

The data frame to add ribbon data to

prop_seq

A sequence of decreasing proportion values which will be applied to the height data iteratively to create smaller polygon data

Value

A modified data frame with the same structure as d, but with many more rows which contain the extra ribbon polygon data


pacific-hake/hake-assessment documentation built on July 21, 2024, 8:19 a.m.