plot_change: Plot Cover Change

Description Usage Arguments Value

View source: R/utils.R

Description

Prints a graph of cover change.

Usage

1
2
3
4
5
6
7
8
9
plot_change(
  csv,
  year1,
  year2,
  title = "cover_change.png",
  heading = " ",
  leg_pos = "topleft",
  y_lab = "Relative Frequency of Samples at X%"
)

Arguments

csv

is a csv with cols (id, year, type, results(1:50))

year1

is an integer matching a value in csv$year

year2

is an integer matching a value in csv$year

title

is the character vector to name the output file (png)

heading

is the character vector used as the main title of the plot

leg_pos

is the legend position argument (character)

y_lab

is the label for the y axis (character)

Value

prints a graph of mean cover change into the working directory


crumplecup/riparian documentation built on April 14, 2021, 1:43 p.m.