Displaying 1 result from an estimated 1 matches for "summarizenumerics".
2012 Mar 20
1
overriding "summary.default" or "summary.data.frame". How?
...method. It also has a function summarize that I might like to use in
place of summary.data.frame.
How would my new methods "drop on top" of R base functions? It
appears my functions (summarizeFactors) can find my summary.factor,
but R's own summary uses its own summary.factor.
## summarizeNumerics takes a data frame or matrix, scans the columns
## to select only the numeric variables. By default it alphabetizes
## the columns (use alphaSort = FALSE to stop that). It then
## calculates the quantiles for each variable, as well as the mean,
## standard deviation, and variance, and then packs t...