how about
>hist(rep(x,w))
i think it works.

> I have the numeric vector `x' and the weights `w' for it of the same
> length. I'd like to have hist of `x' weighted with `w'.
> How to do that? I found nothing about weights in the hist help page..

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to