powered by
Returns histograms for a measure for each group/unit.
dotplots(x, y, group, data, n)
A vector.
A vector that contains unit/group identifiers.
A data frame.
The number of bins. Some experimentation with this number might be necessary.
Historgrams for a measure for each group/unit.
# 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