[R] summary for factors is not very informative
Sam Steingold
sds at gnu.org
Tue Feb 15 23:31:08 CET 2011
summary() for a factor prints:
ColName
SNDK : 72
VXX : 36
MWW : 30
ACI : 28
FRO : 28
(Other):1801
it would have been much more useful if it additionally
printed frequency stats as if by
summary(aggregate(frame$ColName,by=list(frame$ColName),FUN=length)$x)
--
Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final)
http://jihadwatch.org http://www.PetitionOnline.com/tap12009/
http://camera.org http://honestreporting.com http://openvotingconsortium.org
Abandon all hope, all ye who press Enter.
More information about the R-help
mailing list