Linechart function

Dotchart-like plot sfor every scaled variable grouped by factor

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, ...)

Arguments

  • 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()'

Details

Linechart() is dotchart-based plot which shows medians and IQRs (or MADs) for every scaled variable grouped by 'groups' factor.

Alternatives: trellis designs.

Author(s)

Alexey Shipunov

See Also

Boxplots

Examples

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])
  • Maintainer: ORPHANED
  • License: GPL (>= 2)
  • Last published: 2023-02-05

Useful links