powered by
Frequency statistics (to R Console or MS Word).
Freq(var, label = NULL, sort = "", digits = 1, nsmall = digits, file = NULL)
Vector or variable.
[optional] A vector re-defining the labels of values.
"" (default, sorted by raw order), "-" (decreasing), or "+" (increasing).
""
"-"
"+"
Number of decimal places of output. Default is 1.
1
File name of MS Word (.doc).
.doc
A data frame of frequency statistics.
# NOT RUN { Freq(bfi$education) Freq(bfi$gender, label=c("Male", "Female")) Freq(bfi$age) # }
Run the code above in your browser using DataLab