Learn R Programming

radiant (version 0.1.95)

plot.compare_props: Plot method for the compare_props function

Description

Plot method for the compare_props function

Usage

"plot"(x, cp_plots = "props", shiny = FALSE, ...)

Arguments

x
Return value from compare_props
cp_plots
One or more plots of proportions or counts ("props" or "counts")
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_props.html for an example in Radiant

See Also

compare_props to calculate results

summary.compare_props to summarize results

Examples

Run this code
result <- compare_props("titanic", "pclass", "survived")
plot(result, cp_plots = c("props","counts"))

Run the code above in your browser using DataLab