search for: summarizefactor

Displaying 1 result from an estimated 1 matches for "summarizefactor".

Did you mean: summarizefactors
2012 Mar 20
1
overriding "summary.default" or "summary.data.frame". How?
...n in summary output. I'm pasting in a working example below. It has new "summary.factor" 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 t...