scaff_boxplot: Creating a Boxplot by Group

Description Usage Arguments Examples

View source: R/scaff_boxplot.R

Description

This allows you to create a plot where there is a boxplot for each category.

Usage

1
scaff_boxplot(data, x, y, xname = NULL, yname = NULL)

Arguments

data

dataset to use for plot.

x

Categorical Predictor.

y

Outcome of Interest.

xname

(Optional) Name of Categorical Predictor you would like displayed in the plot. If not specified, the name of data$x is used instead.

xyname

(Optional) Name of Outcome of Interest you would like displayed in the plot. If not specified, the name of data$y is used instead.

Examples

1
scaff_boxplot(data = iris,x = Species ,y = Sepal.Length, xname = "Iris Species", yname = "Sepal Length")

mon4004/datascaffold documentation built on July 23, 2019, 8:23 p.m.