plot_oneway: Univariate plot

View source: R/plot_oneway.R

plot_onewayR Documentation

Univariate plot

Description

Tries to guess the best plot to show for a single variable.

Usage

plot_oneway(info, title, color = "lightblue")

Arguments

info

A vector.

title

The title to use in the plot.

color

A color to use in the plot.

Value

A plot.

Author(s)

Leonardo Collado-Torres

Examples

plot_oneway(mtcars$mpg, "mpg")
plot_oneway(as.factor(mtcars$gear), "gear")


LieberInstitute/shinycsv documentation built on May 8, 2023, 7:27 p.m.