Re: [R] weighting histograms

2014-10-29 Thread PIKAL Petr
(testx,testw,breaks=1:10,main="Test weighted histogram") Cheers Petr > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Chris Jackson-Jordan > Sent: Wednesday, October 29, 2014 12:11 AM > To: R help >

[R] weighting histograms

2014-10-28 Thread Chris Jackson-Jordan
I am attempting to weight a histogram with another variable in the spreadsheet. does anyone know an easy way of doing this. I have been attempting to use weighted.hist from the plotrix package but I can't figure out how to use the other variable as the weight. I need to weight the Teton_Co_V colum