mPlot(data, format = plotTypes, default = format, system = c("lattice",
"ggplot2"), show = FALSE, title = "", ...)mMap(data, default = "map", system = "ggplot2", show = FALSE,
title = title, ...)
mScatter(data, default = c("scatter", "jitter", "boxplot", "violin"),
system = c("lattice", "ggplot2"), show = FALSE, title = "")
mUniplot(data, default = c("histogram", "density", "frequency polygon"),
system = c("lattice", "ggplot2"), show = FALSE, title = "")
<default."scatter",
"jitter",
"boxplot",
"violin",
"histogram",
"density",
"frequency polygon",
"xyplot",
or
"map"<TRUE, the code will be displayed each time the plot is
changed.mPlot is required by end users. The other plotting functions
are dispatched based on the value of default. Furthermore, mplot
will dispatch mPlot when provided a data frame.Currently maps are only supported in
mPlot(HELPrct, format="scatter")
mPlot(HELPrct, format="density")Run the code above in your browser using DataLab