propCI_sub {interpretCI}R Documentation

Calculate confidence intervals of proportion or difference between proportions in a data.frame

Description

Calculate confidence intervals of proportion or difference between proportions in a data.frame

Usage

propCI_sub(data, x, y = NULL)

Arguments

data

A data.frame

x

Character Name of a categorical column

y

Character Optional. Name of another categorical column

Value

A list containing at least the following components:

data

A tibble containing raw data or a list of numeric vector

result

A data.frame consists of summary statistics

call

the matched call

attr(*,"measure")

character. One of c("prop","propdiff")

Examples

propCI_sub(acs,"sex")
propCI_sub(acs,"sex","HBP")

[Package interpretCI version 0.1.1 Index]