plotDfCols2: A wraperfunction of plotDfCols

Description Usage Arguments Value

Description

This this a wraperfunction of plotDfCols that exposes the optin to turn of the legend, plotDfCols - plots a data.frame against a specified coulmn

Usage

1
2
plotDfCols2(df, xColName = "date", defaultPalette = FALSE, facet = FALSE,
  legend = FALSE, usePlotly = TRUE, ...)

Arguments

df

data.frame to plot

xColName

name of column to plot against. Default is 'date', but if 'date' is not present, it defaults to row indexes

defaultPalette

use default color palette or a slightly prettier one, but limited to 12 colours.

facet

logical with default FALSE. If set to TRUE, the timeseries are plotted in seperate plots instead of all in one plot

legend

logical with default FALSE. If set to TRUE, the timeseries are plotted with a legend

...

passed to ggplot2

Value

ggplot object


joh4n/JGTools documentation built on May 24, 2019, 4:06 a.m.