single_crosstab: Creating a single crosstab from a pollfish file

Description Usage Arguments Examples

Description

Function that creates the crosstabulation between the x_var and the y_var. Proportions displayed are row proportions

Usage

1
single_crosstab(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")
single_crosstab(x, "age", "Q4")

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