Two-way table similar to the "proc freq" function of SAS with two variables
Usage
twoway(var1, var2, data = NULL, var2lab = NULL)
Arguments
- var1
Vector of first variable
- var2
Vector of second variable
- data
Dataset containing var1
and var2
- var2lab
Label for var2
.
Details
Created by PV (2023).