multiple_question: Creating a basic crosstab for a multiple choice question from...

Description Usage Arguments Examples

Description

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

Usage

1
multiple_question(d_frame, x_var, y_var)

Arguments

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

Examples

1
2
x <- read_pollfish_file("Pollfish_Survey.xls")
multiple_question(x, "age", "Q2")

Cyranka/Pollfish-functions documentation built on May 7, 2019, 2:57 p.m.