Ted,
I know how to do that. It's just such a standard display in SAS, SPSS
and Stata that I figured someone had done it and I had just overlooked
it.
Thanks!
Bob
I don't think there is a ready-made one, but it is very little
effort to make your own:
mkMyTable <- function(X){
Table <- data.frame( table(X) )
Table$Prop <- prop.table( Table$Freq )
Table$CumProp <- cumsum( Table$Prop )
Table
}
myTable <- mkMyTable(Score)
Hoping this helps!
Ted.
--------------------------------------------------------------------
E-Mail: (Ted Harding) <[email protected]>
Fax-to-email: +44 (0)870 094 0861
Date: 16-Oct-09 Time: 22:48:06
------------------------------ XFMail ------------------------------
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.