ggplot_table: Creates suitable table for 'ggplot2'

View source: R/aux_ggplot_table.R

ggplot_tableR Documentation

Creates suitable table for ggplot2

Description

Creates suitable table for ggplot2

Usage

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 April 14, 2023, 12:34 a.m.