wide_resp: wide_resp() produces a frequency table in percentages where...

View source: R/wide_resp.R

wide_respR Documentation

wide_resp() produces a frequency table in percentages where items are rows and columns are response values

Description

wide_resp() produces a frequency table in percentages where items are rows and columns are response values

Usage

wide_resp(x)

Arguments

x

a data frame, where rows = observations, and columns = variables

Value

data frame with a frequency table

Examples



items_data <- dplyr::select(data_frame, item_1:item_9)
wide_resp(items_data)


dacarras/r4sda documentation built on Nov. 9, 2023, 10:17 a.m.