powered by
Compact print method for objects of class "multiple_response": one line per answer option with mentions and percent of cases.
"multiple_response"
# S3 method for multiple_response print(x, digits = 1, ...)
Invisibly returns the input object x.
x
An object of class "multiple_response" returned by multiple_response.
multiple_response
Number of decimal places for percentages (default: 1).
Additional arguments (not used).
d <- survey_data d$gov <- as.integer(d$trust_government >= 4) d$media <- as.integer(d$trust_media >= 4) multiple_response(d, gov, media)
Run the code above in your browser using DataLab