Dear all, I am new to R and this group. I have good experience in S scripts. I need some orientation on data imports, general plotting functions. Can you please direct me? Regards,Ayyappa Chaturvedula
Scripting help
3 messages · Ayyappa Chaturvedula, Philipp Pagel
On Wed, Sep 15, 2010 at 12:22:15PM -0400, Ayyappa Chaturvedula wrote:
Dear all, I am new to R and this group. I have good experience in S scripts. I need some orientation on data imports, general plotting functions. Can you please direct me?
Welcome to R. Coming from an S background you should have no problems to adjust quickly. For data import have a look at the "R Data Import/Export" manual: http://cran.r-project.org/doc/manuals/R-data.html Plotting is not to different from S-Plus. As far as my knowledge goes there are 3 differnet plotting frameworsk in R: 1) "Basic" plot functions like plot or hist some of which are covered in the Introduction to R 2) lattice (the R aequivalent of trellis graphics covered in many manual pages, many tutorials and talks google will quickly find and last but not least the book "Lattice: Multivariate Data Visualization with R" by Deepayan Sarkar who implemented lattice 3) ggplot2 See http://had.co.nz/ggplot2/ for documentation and consider the book "ggplot2: Elegant Graphics for Data Analysis" by Hadley Wickham (the author of ggplot2) I use all three frameworks on a regular basis - choosing the respective functions depending on the complexity of the task. cu Philipp
Dr. Philipp Pagel Lehrstuhl f?r Genomorientierte Bioinformatik Technische Universit?t M?nchen Wissenschaftszentrum Weihenstephan Maximus-von-Imhof-Forum 3 85354 Freising, Germany http://webclu.bio.wzw.tum.de/~pagel/
Oh - and also have a look at the R graph gallery for inspiration: http://addictedtor.free.fr/graphiques/ cu Philipp
Dr. Philipp Pagel Lehrstuhl f?r Genomorientierte Bioinformatik Technische Universit?t M?nchen Wissenschaftszentrum Weihenstephan Maximus-von-Imhof-Forum 3 85354 Freising, Germany http://webclu.bio.wzw.tum.de/~pagel/