varsPlot: Plot multiple variables over time.

Description Usage Arguments

View source: R/varsPlot.R

Description

Prints a ggplot of selected variables over time.

Usage

1
varsPlot(x, vars, date.index = "Week", facet = FALSE)

Arguments

x

data.table

vars

Vector of characters - columns from x to be plotted. If left blank function plots all variables.

date.index

Character. The column in x that is the date variable.

facet

TRUE = facets plot by variable, scales = "free_y".


Braja93/braja documentation built on June 1, 2017, 5:19 p.m.