Description Usage Arguments Value
View source: R/questionnaire_factorize_categorical.R
Factorize all categorical data in data set according to questionnaire options.
1 2 3 4 5  | questionnaire_factorize_categorical(
  data,
  questionnaire,
  return_full_data = FALSE
)
 | 
data | 
 the data set  | 
questionnaire | 
 Questionnaire genereated from kobo quest package.  | 
return_full_data | 
 Logical (default=FALSE). If TRUE refactored data will be inserted back into original dataset. If FALSE (default), only the refactored data will be returned.  | 
round_to | 
 Decimal place to round to.  | 
return_confidence | 
 Logical value specifying whether to return confidence interval.  | 
na_replace | 
 Logical value (default = FALSE) of whether to replace NA with 0 (numerical) or "filtered" (categorical)  | 
Dataset with cateogrical data factorized according to questionnaire.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.