Learn R Programming

PROsetta (version 0.4.1)

runFrequency: Obtain a frequency table

Description

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

Usage

runFrequency(data, check_frequency = TRUE)

Value

runFrequency returns a data.frame containing the frequency table.

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)

Examples

Run this code
freq_asq <- runFrequency(data_asq)
freq_dep <- runFrequency(data_dep)

Run the code above in your browser using DataLab