Learn R Programming

colorDF (version 0.1.7)

term_boxplot: Boxplot in a terminal

Description

Show a boxplot using characters in the terminal window

Usage

term_boxplot(formula, data = NULL, width = getOption("width"))

Value

invisibly return the color summary data frame used to draw the boxplot

Arguments

formula

a formula

data

data frame or matrix

width

width of the boxplot in characters

Examples

Run this code
term_boxplot(mpg ~ cyl, data=mtcars)
term_boxplot(Sepal.Length ~ Species, data=iris, width=70)

Run the code above in your browser using DataLab