powered by
Frequency statistics.
Freq(var, label = NULL, sort = "", nsmall = 1)
Vector or variable.
[optional] A vector re-defining the labels of values.
"" (default, sorted by raw order), "-" (decreasing order), or "+" (increasing order).
""
"-"
"+"
Number of decimal places of output. Default is 1.
1
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