Learn R Programming

radiant.basics (version 1.6.0)

summary.compare_props: Summary method for the compare_props function

Description

Summary method for the compare_props function

Usage

# S3 method for compare_props
summary(object, show = FALSE, dec = 3, ...)

Arguments

object

Return value from compare_props

show

Show additional output (i.e., chisq.value, df, and confidence interval)

dec

Number of decimals to show

...

further arguments passed to or from other methods

Details

See https://radiant-rstats.github.io/docs/basics/compare_props.html for an example in Radiant

See Also

compare_props to calculate results

plot.compare_props to plot results

Examples

Run this code
result <- compare_props(titanic, "pclass", "survived")
summary(result)

Run the code above in your browser using DataLab