[R] how to modify the histogram's frequencies

From: marcelha mukim <urianha_at_gmail.com>
Date: Sun, 27 Apr 2008 02:41:36 -0400


I have been trying to figure out a simple way to plot an histogram whose frequencies are modified by a factor (associated with each value).

Actually what I did was plotting each value with its modified frequency(using plot($values, $frequency, type="h")), but it doesnt take into account the probability distribution(which is necessary).

It will be very helpful from you any approach to solve this problem.

thank you,



        [[alternative HTML version deleted]]

R-help_at_r-project.org 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. Received on Sun 27 Apr 2008 - 06:47:01 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 27 Apr 2008 - 07:30:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive