Learn R Programming

jmv (version 0.7.0)

propTestN: Proportion Test (N Outcomes)

Description

Proportion Test (N Outcomes)

Usage

propTestN(data, var, counts, expected, ratio = NULL)

Arguments

data
the data as a data frame
var
a string naming the variable of interest in data
counts
.
expected
TRUE or FALSE (default), whether expected counts should be displayed
ratio
a string naming the variable representing counts, or NULL if each row represents a single observation