Description Usage Arguments Examples
Function that creates the crosstabulation between the x_var and the y_var for a single multiple choice question. Proportions displayed are row proportions and refer to
1 | multiple_question(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")
multiple_question(x, "age", "Q2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.