frequency | R Documentation |
This function creates a single variable frequency table
frequency(Values, freq = TRUE, percent = TRUE, cumulative.percent = FALSE, cumulative.freq = FALSE, useNA = "no", title = "")
Values |
The variable data for which the table will be created |
freq |
logical indicating if the freqencies should be displayed |
percent |
logical indicating if the percents should be displayed |
cumulative.percent |
logical indicating if the cumulative percents should be displayed |
cumulative.freq |
logical indicating if the cumulative frequencies should be displayed |
useNA |
Handling of NAs, choices are "no", "ifany", "always". Defaults to no. |
title |
Optional title, enclosed in quotes. Defaults to empty. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.