plotnlines: Plot n lines in ggplot

Description Usage Arguments Examples

View source: R/FishEconProdOutput.R

Description

This funciton plots n lines in a ggplot.

Usage

1
plotnlines(dat, titleyaxis = "", title0 = "")

Arguments

dat

Default data.

titleyaxis

y-axis title.

title0

Title of plot.

Examples

1
2
3
4
5
6
dat<-data.frame(Year = c(2016:2020, 2016:2020),
                val = rnorm(n = 10, mean = 500, sd = 100),
                cat = c(rep_len("A", 5), rep_len("B", 5)))
plotnlines(dat = dat,
           titleyaxis = "Normal Distribution of 10 Numbers",
           title0 = "Anywhere")

EmilyMarkowitz-NOAA/FishEconProdOutput documentation built on Aug. 30, 2021, 6:49 p.m.