plotCol: Plots a vecktor from a dataframe

Description Usage Arguments Value Examples

Description

Plots a column of a data frame

Usage

1
plotCol(x, defaultPalette = FALSE, legend = FALSE, usePlotly = TRUE)

Arguments

x

a vector from a data.frame to plot

defaultPalette

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

Legend

logical with default FALSE. If set to TRUE, a legend will be added to the plot

Value

ggplot object #' @importFrom reshape2 melt

Examples

1
plotCol(mydf$grp_tv1)

johan-gudmundsson/JGTools documentation built on May 19, 2019, 3:02 p.m.