pareto: Pareto Chart

Description Usage Arguments Value Examples

View source: R/pareto.h.R

Description

Function for making pareto charts.

Usage

1
pareto(data, x, counts = NULL)

Arguments

data

the data as a data frame

x

a string naming the variable from data that contains the values used for the chart

counts

a string naming the variable from data that contains the counts for the values (optional)

Value

A results object containing:

results$pareto a Pareto chart

Examples

1
2
3
4
5
6
set.seed(1337)

X <- sample(c('A','B','C','D','E','F'), 100, replace=TRUE)
dat <- data.frame(X = X)

pareto(dat, x = 'X')

raviselker/scatr documentation built on Nov. 12, 2019, 4:51 a.m.