[R] How to plot stacked histogram in R?

Jim Lemon jim at bitwrit.com.au
Wed May 2 11:22:27 CEST 2012


On 05/02/2012 02:58 PM, Manish Gupta wrote:
> Hi,
>
> I am working on data analysis. I need to plot stacked histogram for two
> Files.
>
> File1:
> 1
> 2
> 3
> 3
> 4
> 4
>
> File2:
> 4
> 5
> 6
> 6
> 7
> 7
> 7
>
> How can i plot them on same graph?
>
Hi Manish,
Have a look at the third example for the "barp" function (plotrix).

Jim



More information about the R-help mailing list