quick and easy function to show proportions of values of a variable,
defaults to including missings
Usage
props(..., exclude = NULL)
Arguments
- ...
passed to crosstabs
- exclude
defaults to NULL (i.e. includes NA)
Examples
x = NA
props(~ x)
#> x
#> <NA>
#> 1