Description Usage Arguments Details Value
A survey data frame that employs the same generic methods as a regular
data.frame
with additional functionality for preserving levels and
question text attributes for columns.
1 2 3 4 5 6 |
data |
a data frame |
questions |
a data frame with a minimum of two columns, where the first
column contains matching names of columns in |
x |
An object to test or print. |
n,width,... |
Arguemnts passed to |
Each column of a svy_df
generally represents a question from a opinion
survey, where the values represent unique response choices, variable levels
represent the response choice text, and the question text represents the full
wording of the survey item as displayed to the respondent. Each row
represents a unique respondent.
When subsetting a svy_df
object using standard indexing methods (i.e.
'['
), variable levels and question text will be copied from the
original object to the subsetted object using copy_lev
.
A object of class svy_df
with optional attributes for question
text and variable levels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.