Description Usage Arguments Examples
Function that creates the crosstabulation between the x_var and the y_var. Proportions displayed are row proportions
1 | single_crosstab(d_frame, x_var, y_var)
|
d_frame: |
Data frame created from a pollfish file |
x_var: |
Variable that will represent the rows |
y_var: |
Variable that will represent the columns |
1 2 | x <- read_pollfish_file("Pollfish_Survey.xls")
single_crosstab(x, "age", "Q4")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.