Description Usage Arguments Examples
Function that creates the crosstabulation between the x_var and the y_var for a single rank choice question. Output is a list with rank choices for all factors of x_var.
1 | rank_question(d_frame, x_var, y_var)
|
d_frame: |
Data frame created from a pollfish file |
x_var: |
Variable that represent the categories |
y_var: |
Variable that represent the ranking |
1 2 | x <- read_pollfish_file("Pollfish_Survey.xls")
rank_question(x, "age", "Q8")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.