View source: R/preanalysis_functions.r
checkFrequency | R Documentation |
checkFrequency
is a descriptive function for checking whether all response categories in a frequency table have a frequency of at least 1.
checkFrequency(data)
data |
a |
checkFrequency
returns TRUE
if all response categories have a frequency of at least 1, and FALSE
if not.
checkFrequency(data_asq) # TRUE
## Not run:
data_asq@response$EDANX01[data_asq@response$EDANX01 == 4] <- 3
checkFrequency(data_asq) # FALSE
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.