Dear, I have a table with four columns similar to the following: Factory Name Production type Months Freq Factory 1 Car type 1 Jan. 0 Factory 1 Car type 2 Feb. 1 Factory 2 Car type 3 May 3 I need help in producing graphs; 1. I need to graph the production of the factories per month in "Stacked columns" 2. I need to graph the each of the production type by factory and month. Regards N.Jajo [[alternative HTML version deleted]]
To start: pdf("Auto_Analysis.pdf) from the R console type: ? hist For the histogram help page. If you show the R code for your data, I'll generate the actual code for the histogram. Thanks.> From: nethal.jajo@sydney.edu.au > To: r-help@r-project.org > Date: Mon, 8 Oct 2012 08:26:59 +0000 > Subject: [R] Graphs using R > > Dear, > > I have a table with four columns similar to the following: > > Factory Name Production type Months Freq > > Factory 1 Car type 1 Jan. 0 > > Factory 1 Car type 2 Feb. 1 > > Factory 2 Car type 3 May 3 > > > > I need help in producing graphs; > > 1. I need to graph the production of the factories per month in "Stacked columns" > > 2. I need to graph the each of the production type by factory and month. > > > > Regards > > N.Jajo > > [[alternative HTML version deleted]] > > ______________________________________________ > 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.[[alternative HTML version deleted]]
Hi homework? No homewok policy here. You can check e.g. ggplot2 package Regards Petr> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of Nethal Jajo > Sent: Monday, October 08, 2012 10:27 AM > To: r-help at R-project.org > Subject: [R] Graphs using R > > Dear, > > I have a table with four columns similar to the following: > > Factory Name Production type Months Freq > > Factory 1 Car type 1 Jan. > 0 > > Factory 1 Car type 2 Feb. > 1 > > Factory 2 Car type 3 May > 3 > > > > I need help in producing graphs; > > 1. I need to graph the production of the factories per month in > "Stacked columns" > > 2. I need to graph the each of the production type by factory and > month. > > > > Regards > > N.Jajo > > [[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.