Plots.createBoxPlot: Draw a horizontal boxplot.

Description Usage Arguments Details Value Note Examples

View source: R/Plot.R

Description

Draw a horizontal boxplot.

Usage

1
2
Plots.createBoxPlot(dataSet, x, y, title, xlab = NULL, ylab = NULL,
  notch = FALSE)

Arguments

dataSet

data frame. Data to put in the plot.

x

string. Name of column used as factoring elemnt and shown in the vertical axis.

y

string. Name of column used for building the plot. This should be a numeric vector column.

title

string. Main title of the graph.

xlab

string. Label of the x-axis, which is shown vertically here.

ylab

string. Label of the y-axis, which is shown horizontally here.

notch

boolean. If notch is TRUE, a notch is drawn in each side of the boxes. If the notches of two plots do not overlap this is <e2><80><98>strong evidence<e2><80><99> that the two medians differ. boxplot for more information and stats for the calculations used.

Details

Create horizontal boxplots based on given value and partitions by the x column.

Value

Class of type ggplot. Use plot for really draw the plots.

Note

In a horizontal plot, x and y axes are swapped. So x-axis is vertical and y-axis is horizontal.

Examples

1
2
3
4
## Not run: 
Plots.createBoxPlot(sbm.data, 'student_status', 'average_semester', '<d8><aa><d9><88><d8><b2><db><8c><d8><b9> <d9><85><db><8c><d8><a7><d9><86><da><af><db><8c><d9><86> <d8><aa><d8><b1><d9><85><db><8c> <d8><af><d8><a7><d9><86><d8><b4><d8><ac><d9><88><db><8c><d8><a7><d9><86>',)

## End(Not run)

ks465/r-utils documentation built on May 23, 2019, 5:07 p.m.