ggplot_table: Creates suitable table for 'ggplot2'

Description Usage Arguments Value

View source: R/aux_ggplot_table.R

Description

Creates suitable table for ggplot2

Usage

1
ggplot_table(df, l_color, l_type, l_size, l_legend = NULL)

Arguments

df

data frame with class Date or POSIXct in the first column and the variables to plot on the others.

l_color

string vector with a color for each line (data frame column).

l_type

string vector with the line type.

l_size

numeric vector with the line size.

l_legend

string vector with the user name for legend labels.

Value

A data frame ready to use in ggplot2.


hydrotoolbox documentation built on July 9, 2021, 1:06 a.m.