Description Usage Arguments Details Value Examples
View source: R/prep_functions.R
Checks an individual (survey) variable for common errors.
1 | check_ind(ind_var)
|
ind_var |
the individual (survey) variable you want to check |
Checks an individual (survey) variable for the following common errors:
That each row sums to 1 (i.e. correctly converted to a dummy variable)
If no errors are detected the function returns silently. Any errors will stop the function or script to be investigated.
1 | ## check_ind(ind_var)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.