Skip to contents

Compute the proportions of observing a value from a 2 by 2 continguency table

Usage

props(x, y, yval, diff = FALSE)

Arguments

x

grouping variable

y

outcome of interest

yval

category of interest from outcome of interest

diff

Obtain the difference in proportions. Default is FALSE.