Learn R Programming

radiant (version 0.1.95)

plot.compare_means: Plot method for the compare_means function

Description

Plot method for the compare_means function

Usage

"plot"(x, cm_plots = "bar", shiny = FALSE, ...)

Arguments

x
Return value from compare_means
cm_plots
One or more plots ("bar", "box", or "density")
shiny
Did the function call originate inside a shiny app
...
further arguments passed to or from other methods

Details

See http://vnijs.github.io/radiant/quant/compare_means.html for an example in Radiant

See Also

compare_means to calculate results

summary.compare_means to summarize results

Examples

Run this code
result <- compare_means("diamonds","cut","price")
plot(result, cm_plots = c("bar","density"))

Run the code above in your browser using DataLab