rank_question: Creating a basic crosstab for a single rank question from a...

Description Usage Arguments Examples

Description

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.

Usage

1
rank_question(d_frame, x_var, y_var)

Arguments

d_frame:

Data frame created from a pollfish file

x_var:

Variable that represent the categories

y_var:

Variable that represent the ranking

Examples

1
2
x <- read_pollfish_file("Pollfish_Survey.xls")
rank_question(x, "age", "Q8")

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