ggplot_table {hydrotoolbox}R 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.


[Package hydrotoolbox version 1.1.2 Index]