plotrr (version 1.0.0)

dotplots: Creates histograms for a measure for each group/unit

Description

Returns histograms for a measure for each group/unit.

Usage

dotplots(x, y, group, data, n)

Arguments

x

A vector.

y

A vector.

group

A vector that contains unit/group identifiers.

data

A data frame.

n

The number of bins. Some experimentation with this number might be necessary.

Value

Historgrams for a measure for each group/unit.

Examples

Run this code
# NOT RUN {
a <- runif(1000, min = 0, max = 1)
b <- a + rnorm(1000, mean = 0, sd = 1)
c <- rep(c(1:10), times = 100)
data <- data.frame(a, b, c)
dotplots("a", "b", "c", data, 20)
# }

Run the code above in your browser using DataLab