Learn R Programming

osmose (version 3.3.4)

.osmose.format_data_stacked: Reformat the data into the ggplot2 stacked plot format. It returns a dataframe with specie, time and predation rate in the columns.

Description

Reformat the data into the ggplot2 stacked plot format. It returns a dataframe with specie, time and predation rate in the columns.

Usage

.osmose.format_data_stacked(data, time = NULL)

Arguments

data

Data to plot

time

Time vector