plotCol: Plots a vecktor from a dataframe

Description Usage Arguments Value Examples

View source: R/plotCol.R

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)

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