[R] Mosaic Plots
Hello Everyone I want to plot Moasic Plots, I have tried them using iplots package (using imosaic). The problem is the names dont get alligned properly, is there a way to a align the names and provide legend in Mosaic plots using R? Also I would like to know any other packages using which I can plot Mosaic Plots Thank you in advance Sunita -- View this message in context: http://n4.nabble.com/Mosaic-Plots-tp1677468p1677468.html Sent from the R help mailing list archive at Nabble.com. __ 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.
[R] Bar plot
Hello (this might be a very simple question) My data is as follows (table name is student) YearStudentsPassed 1 2000300 2 2001360 3 2002450 4 2003450 5 2004270 6 2005280 7 2006400 8 2007270 I want to plot a barplot so for this If I use barplot(students) it says Error in barplot.default(students) : 'height' must be a vector or a matrix so I used the following command barplot(StudentsPassed) But this doesnt give me the names for Xaxis, how can I get the names for Xaxis, also how can I get labels for X and Y axis, and tittle, I tried title(main = Year Vs Number of Publications) to get the title but its giving me an error Thanks in advance Sunita I want to -- View this message in context: http://n4.nabble.com/Bar-plot-tp1474748p1474748.html Sent from the R help mailing list archive at Nabble.com. __ 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.
[R] Graphics for Factor Analysis
Hello Everyone I have results for Factor Analysis and I want to find the association among these factors and also I want to represent this in a graphical format. Can anyone suggest me what graphics can be used to represent the results of Factor Analysis in R? my data is as follows (this is just a dummy representation) factor1 factor2factor2 f1 f1 f2 f1 f2 f3 A 0.170.10 0.12-0.17 0.11 0.21 B 0.210.35 0.22 0.16 0.28 0.44 . . . . . Thank you in Advance Sunita -- View this message in context: http://n4.nabble.com/Graphics-for-Factor-Analysis-tp1289231p1289231.html Sent from the R help mailing list archive at Nabble.com. __ 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.
[R] Graph for pattern findings
Hello I am searching for a graph for finding the patterns in writing of Authors. I have around 8 to 10 Authors for whom we have tabulated their writing times. for e.g the data is as follows: Author TimeofWriting A 2009-09-16:57:35:45 A 2009-10-10:09:41:15 A 2009-10-11:15:35:22 B 2009-09-01:06:35:45 B 2009-11-01:13:25:54 C 2009-09-01:17:45:35 C 2008-09-01:20:06:17 I have to draw a graph using ggplot2 or rggobi for finding that how often these Authors writes, how frequently they write The data table is of 150 rows. Thanks in advance. Regards Sunita -- View this message in context: http://n4.nabble.com/Graph-for-pattern-findings-tp956835p956835.html Sent from the R help mailing list archive at Nabble.com. __ 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.
[R] barplot and cumulative curve using ggplot2 layers
Hello My dataset is as follows: jobno recruits 1100 18 1200 1 1850 5 2100 190 2789 25 3000 1 .. .. the dataset has 130 rows I want to plot barplot from left side and cumulative curve from right side in one graph itself using layers in ggplot2. I sorted the recruits 1st in decreasing order and then used mydata - data.frame(jobno, recruits) ggplot(mydata, aes(x = jobno, y = recruits)) + geom_bar() but I am getting an error stat_bin: binwidth defaulted to range/30. Use 'binwidth = x' to adjust this. Error in pmin(y, 0) : object y not found Can someone guide me regarding this? How to get barplot from left side and cumulative curve from right side in one graph itself. Thanks in advance Regards Sunita -- View this message in context: http://n4.nabble.com/barplot-and-cumulative-curve-using-ggplot2-layers-tp957075p957075.html Sent from the R help mailing list archive at Nabble.com. __ 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.
[R] Graph for finding patterns
Hello I am searching for a graph for finding the patterns in writing of Authors. I have around 8 to 10 Authors for whom we have tabulated their writing times. for e.g the data is as follows: Author TimeofWriting A 2009-09-16:57:35:45 A 2009-10-10:09:41:15 A 2009-10-11:15:35:22 B 2009-09-01:06:35:45 B 2009-11-01:13:25:54 C 2009-09-01:17:45:35 C 2008-09-01:20:06:17 I have to draw a graph using ggplot2 or rggobi for finding that how often these Authors writes, how frequently they write The data table is of 150 rows. Thanks in advance. Regards Sunita -- View this message in context: http://n4.nabble.com/Graph-for-finding-patterns-tp957078p957078.html Sent from the R help mailing list archive at Nabble.com. __ 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.