Compute the proportions of observing a value from a 2 by 2 continguency table
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.