| iscamboxplot | R Documentation |
boxplot plots the given data in a box plot. If a second categorical variable
is given, the data is grouped by this variable.
iscamboxplot(
response,
explanatory = NULL,
main = "",
xlab = "",
ylab = substitute(explanatory)
)
response |
Vector of numeric values to plot. |
explanatory |
(optional) second categorical variable to group by. |
main |
(optional) title for the plot. |
xlab |
(optional) x-axis label for the plot. |
ylab |
(optional) y-axis label for the plot. Only displayed when |
A box plot.
iscamboxplot(
mtcars$mpg,
main = "mtcars Cylinders Dotplot",
xlab = "Number of Cylinders"
)
iscamboxplot(
mtcars$mpg,
mtcars$am,
main = "Automatic Cars Have Better Mileage on Average",
xlab = "Mileage (miles per gallon)",
ylab = "Automatic (yes coded as 1)"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.