tabulate_columns: Return table of responses to ordinal/nominal response...

Description Usage Arguments Value

View source: R/tabulate_columns.R

Description

This function returns a tidy tibble containing percentage tables

Usage

1
2
tabulate_columns(x, weights = NULL, segments = NULL, filterNA = TRUE,
  binary = FALSE, multipleChoice = FALSE)

Arguments

x

tibble of ordinal/nominal responses

weights

(Optional) vector of weights

segments

(Optional) vector or data frame of segment membership

filterNA

Whether we remove NAs before calculating percentage

binary

Are the columns binary responses (1 or TRUE)

multipleChoice

Are the columns multiple choice and therefore should be grouped together.

Value

tidy tibble containing percentage table of responses


OpenSourceMindshare/surveytools documentation built on Aug. 14, 2019, 10:38 a.m.