runFrequency function

Obtain a frequency table

Obtain a frequency table

runFrequency is a descriptive function for obtaining a frequency table from the dataset.

runFrequency(data, check_frequency = TRUE)

Arguments

  • data: a PROsetta_data object. See loadData for loading a dataset.
  • check_frequency: if TRUE, check the frequency table for missing response categories, and display warning message if any is missing. (default = TRUE)

Returns

runFrequency returns a data.frame containing the frequency table.

Examples

freq_asq <- runFrequency(data_asq) freq_dep <- runFrequency(data_dep)