plot_multi: Plot a multivariate time series of occurrence

Description Usage Arguments Value Examples

View source: R/plot_multi.R

Description

Plot a multivariate time series of occurrence

Usage

1
plot_multi(x, ..., trans = "identity")

Arguments

x

data.frame with a column called date and other columns for concentration of various species.

...

columns to plot, specified in a way compatible with dplyr::select()

trans

name of a transformation function applied to y axis. Exemples are "identity" for no transformation "sqrt" for square root, "log10" for log in base 10, "log1p" for log(n+1).

Value

A ggplot2 plot.

Examples

1
2
3
plot_multi(ost, benthic:planktonic)
plot_multi(ost, benthic:planktonic, trans="sqrt")
plot_multi(ost, benthic:planktonic, trans="log1p")

jiho/coclimer documentation built on July 26, 2020, 4:02 a.m.