Description Usage Arguments Value Author(s) Examples
Generates a categorical barchart of a set of categorical variables against another one.
1 2 3 4 5 |
obj |
NMProblem or data.frame object |
xVars |
Character vector specifying x-axis variable. Only one may be specified at the moment. |
yVars |
Character vector specifying y-axis variable. Only one may be specified at the moment. |
bVars |
Trellis variables, specified as characters (or |
xLab |
x-axis label |
xRotAngle |
Angle by which to rotate x-angle tick labels. |
yLab |
y-axis label |
titles |
Main plot title |
addLegend |
Logical. Should we add a legend to the plot? |
xBin |
X-axis binning: Either a single value for range binning or explicit cut points. |
problemNum |
The problem required for a |
subProblems |
The sub problem of a run with simulations. |
yAxisScaleRelations |
Y-axis scale relations when panels are displayed. One of |
xAxisScaleRelations |
X-axis scale relations when panels are displayed. One of |
... |
additional parameters passed to the barchart function |
Multitrellis class object
Mango Solutions
1 2 3 4 5 6 7 8 9 | ## Not run:
nmBarChart(mtcars, xVars = "cyl", yVars = "gear", bVars = "vs")
## End(Not run)
CO2.df <- as.data.frame(CO2)
nmBarChart(CO2.df, "Plant", "Treatment",
title = "CO2", xLab = "The Treatment",
yLab = "The type")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.