Produces plots of a METRIC variables by a SPLIT factor. Available TYPEs are Ecdf, Dens, Boxplot, Stripchart.

MetricPlotBySplit(METRIC, SPLIT = NULL, TYPE = "Ecdf", XLAB = NULL,
  XLIM = NULL, MAIN = NULL, COL = NULL, ADJ = 1, METHOD = "jitter")

Arguments

METRIC

is the metric variable to be plotted

SPLIT

=NULL is a factor or convertable to a factor. If NULL a single group ALL is assumed.

TYPE

="Ecdf chooses between "Ecdf", "Dens", "Boxplot", "Stripchart"

XLAB

=NULL optional, otherwise derived from call METRIC

XLIM

=NULL optional, otherwise derived from pretty

MAIN

=NULL plot title

COL

=NULL colours for the levels of Split - otherwise 2:(G+1)

ADJ

=1 Density smoothing parameter relative to density standard

METHOD

="jitter" METHOD for stripchart

Value

Generates a plot.

See also