powered by
Dotchart-like plot for every scaled variable grouped by factor
Linechart(vars, groups, xticks=TRUE, xmarks=TRUE, mad=FALSE, pch=19, se.lwd=1, se.col=1, ...)
Variables to draw (data frame)
Grouing factor
Show xticks?
Show xmarks?
Show MAD instead of IQR?
Points type
Lines width
Lines color
arguments to 'plot()'
Alexey Shipunov
Linechart() is dotchart-based plot which shows medians and IQRs (or MADs) for every scaled variable grouped by 'groups' factor.
Alternatives: trellis designs.
Boxplots
Trees <- trees Trees[, 4] <- sample(letters[1:3], nrow(Trees), replace=TRUE) Linechart(Trees[, 1:3], factor(Trees[, 4])) Linechart(iris[, 1:4], iris[, 5])
Run the code above in your browser using DataLab