[R] question regarding basic stat question

Daniel Harris mail.dharris at googlemail.com
Tue Feb 22 20:50:56 CET 2011


>> 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 pkg.
> A search with pkg sos may provide more options.
>
> Peter Ehlers
>>


that the one.

Thank you very much Peter and thanks for all the replies and info.

Much appreciated
Dan



More information about the R-help mailing list