Hello
Is it possible to get summary statistics (inc mean, sd etc) from a
text file that has the following info stored in it?
Height Frequency
123 5
124 8
125 3
126 9
127 7
etc etc
on reading various file formats.
HTH, Bryan
Prof. Bryan Hanson
Dept of Chemistry Biochemistry
DePauw University
602 S. College Ave
Greencastle IN 46135 USA
On Feb 22, 2011, at 7:20 AM, Daniel Harris wrote:
Hello
Is it possible to get summary statistics (inc mean, sd etc
The first column gives the answer that I am looking for but I just
thought their maybe a better way without using the long variable
Sounds like you want the frequency-weighted summary statistics.
For the mean, look at ?weighted.mean.
For more comprehensive stats, check ?wtd.mean in the Hmisc
3 matches
Mail list logo