Linechart | R Documentation |
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 factor |
xticks |
Show xticks? |
xmarks |
Show xmarks? |
mad |
Show MAD instead of IQR? |
pch |
Points type |
se.lwd |
Lines width |
se.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])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.