Dotchart-like plot sfor every scaled variable grouped by factor
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, ...)
vars
: Variables to draw (data frame)groups
: Grouing factorxticks
: Show xticks?xmarks
: Show xmarks?mad
: Show MAD instead of IQR?pch
: Points typese.lwd
: Lines widthse.col
: Lines color...
: arguments to 'plot()'Linechart() is dotchart-based plot which shows medians and IQRs (or MADs) for every scaled variable grouped by 'groups' factor.
Alternatives: trellis designs.
Alexey Shipunov
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])
Useful links