Frequencies
Functions to display frequency
freq(x, y = NULL, ..., labels = NULL, data = NULL) ## S3 method for class 'frequencies' print(x, ..., toLatex = FALSE)
x |
Object of type |
y |
If x is a formula, |
... |
used for compatibility |
labels |
Optional vector of labels the same length as the dimension of x or the number of variables in formula. |
data |
see y for details |
toLatex |
Logical value that indicates if the print methods should return a tabular latex environment to use with Sweave or knitr. |
The freq
methods returns an object of type frequencies
object with a print
methods associated.
An object of type "frequencies" that is a list of matrix
containing
the frequencies the % and the % with missing value.
Charles-Édouard Giguère
require(CUFF) ### example of crosstabs fr1 <- freq( ~ N + P, npk, c("Nitrogen", "Phosphate")) fr1 ### To use with sweave or knitr. print(fr1, toLatex = TRUE)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.