On Thu, Oct 22, 2009 at 5:31 PM, Jakson A. Aquino
<jaksonaqu...@gmail.com> wrote:
>> Is there some way of drawing a boxplot, with R, when one does not have
>> the original continuous data, but only the data grouped in classes?
>> The function boxplot() can only deal with original data.
>
> Do you mean a numeric vector grouped by a factor? If you have a
> numeric vector x and a categorical variable f, then:
>
> boxplot(x ~ f)

No, Jakson, I mean something like the following:

[0,1] --> 5%
]1,3] --> 25%
]3,4] --> 10%
]4,7] --> 20%
]7,11] --> 40%

Paul

______________________________________________
R-help@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.

Reply via email to