trap_plot: Trap Plot

View source: R/trap_plot.R

trap_plotR Documentation

Trap Plot

Description

Trap Plot

Usage

trap_plot(df, type = "line")

Arguments

df

The output of the read_pd() function

type

A type of the output plot. Either "line" or "bar"

Value

A ggplot object

Examples

## Not run: 
  maindir <- "../corvus_dynamic_outputs/Digitising FF trapping plots/"
  filename <- "Bjelis_2007_1"; species <- "Cc"
  x <- read_pd(filename, species, maindir)
  trap_plot(x)
  trap_plot(x, "bar")
  trap_plot(x) + ggplot2::labs(title = "Title", x = "X", y = "Y")

## End(Not run)

aniaszy/ffipm documentation built on July 3, 2022, 2:40 a.m.