freqtable1 | R Documentation |
Gives a frequency table with 1 variable showing absolute'n'relative frequencies
freqtable1(x, useNA = "n")
x |
data and variable to enter (data$variable) |
useNA |
either "always" or "never", abbr. supported, default="n" |
a frequency table with first row absolute numbers, second table are relative values
a <- c(1:5)
b <- c(11:15)
sample.data <- data.frame(a,b)
freqtable1(sample.data$a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.