Description Usage Arguments Examples
Function that will run all multiple choice crosstabs for a single variable, save them in a list, and write them to file
1 | multiple_crosstabs_by_variable(d_frame1, x_var1, multiple_choice_columns)
|
d_frame1: |
Data frame created from a pollfish file |
x_var1: |
Variable that will represent the rows |
multiple_choice_columns: |
Vector with the code for all multiple choice variables |
1 2 3 | x <- read_pollfish_file("Pollfish_Survey.xls")
multiple_choice <- c("Q2", "Q9")
multiple_crosstabs_by_variable(x,"region", multiple_choice)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.