runFrequency
is a descriptive function for obtaining a frequency table from the dataset.
runFrequency(data, check_frequency = TRUE)
a PROsetta_data
object. See loadData
for loading a dataset.
if TRUE
, check the frequency table for missing response categories, and display warning message if any is missing. (default = TRUE
)
runFrequency
returns a data.frame
containing the frequency table.
freq_asq <- runFrequency(data_asq)
freq_dep <- runFrequency(data_dep)