Re: [R] Frequencies, proportions cumulative proportions

2009-10-17 Thread Muenchen, Robert A (Bob)
| |---| ... -Original Message- From: David Scott [mailto:d.sc...@auckland.ac.nz] Sent: Friday, October 16, 2009 8:42 PM To: Muenchen, Robert A (Bob) Cc: ted.hard...@manchester.ac.uk; r-help@r-project.org Subject: Re: [R] Frequencies, proportions cumulative proportions Muenchen, Robert A (Bob) wrote: Ted

[R] Frequencies, proportions cumulative proportions

2009-10-16 Thread Muenchen, Robert A (Bob)
Dear R-Helpers, I've looked high and low for a function that provides frequencies, proportions and cumulative proportions side-by-side. Below is the table I need. Is there a function that already does it? Thanks, Bob # Generate some test scores myValues - c(70:95) Score - ( sample( myValues,

Re: [R] Frequencies, proportions cumulative proportions

2009-10-16 Thread Ted Harding
On 16-Oct-09 20:51:06, Muenchen, Robert A (Bob) wrote: Dear R-Helpers, I've looked high and low for a function that provides frequencies, proportions and cumulative proportions side-by-side. Below is the table I need. Is there a function that already does it? Thanks, Bob # Generate

Re: [R] Frequencies, proportions cumulative proportions

2009-10-16 Thread Muenchen, Robert A (Bob)
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 -

Re: [R] Frequencies, proportions cumulative proportions

2009-10-16 Thread David Scott
Muenchen, Robert A (Bob) wrote: 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: