Learn R Programming

s20x (version 3.1-40)

boxqq: Box plots and normal quantile-quantile plots

Description

Draws boxplots and normal quantile-quantile plots of x for each value of the grouping variable g

Usage

boxqq(formula, ...)

# S3 method for formula boxqq(formula, data = NULL, ...)

Value

Returns the plot.

Arguments

formula

A symbolic specification of the form x ~ g can be given, indicating the observations in the vector x are to be grouped according to the levels of the factor g. NA's are allowed in the data.

...

Arguments to be passed to methods, such as graphical parameters (see par).

data

An optional data frame in which to evaluate the formula.

Methods (by class)

  • boxqq(formula): Box plots and normal quantile-quantile plots

Examples

Run this code

## Zoo data
data(zoo.df)
boxqq(attendance ~ day.type, data = zoo.df)

Run the code above in your browser using DataLab