[R] Histogram

Henrique Dallazuanna wwwhsd at gmail.com
Wed Jul 23 21:30:01 CEST 2008


Try this:

with(x, barplot(frequency, names.arg = class))

On Wed, Jul 23, 2008 at 3:29 PM, Angelo Scozzarella
<angeloscozzarella at tiscali.it> wrote:
> Hi,
>
> how can I treat data organised in classes and frequencies?
>
> Ex.
>
> class           frequency
>
> 20-23                   9
> 23-25                   7
> 26-28                   5
> 29-31                   5
> 32-34                   3
>
>
>
> Thanks
>
> Angelo Scozzarella
>
> ______________________________________________
> 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.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O



More information about the R-help mailing list