Using R for scientific computing

R (R Development Core Team 2008) is the open-source (read: free-of-charge) version of the language S. It is best known as a package that performs statistical analysis and graphics. However, R is so much more: it is a high-level language in which one can perform complex calculations, implement new methods, and make high-quality figures. R has high-level functions to operate on matrices, perform numerical integration, advanced statistics,... which are easily triggered and which make it ideally suited for datavisualization, statistical analysis and mathematical modeling. It is the aim of these lecture notes to make you acquainted with the R language. The lecture notes are based on a book (Soetaert and Herman 2009) about ecological modelling in which R is extensively used for developing, applying and visualizing simulation models. There are many excellent sources for learning the R (or S) language. R comes with several manuals that can be consulted from the main R program (Help/Manuals). Rintro.pdf is a good start. Many other good introductions to R are available, some freely on the web, and accessible via the R web site (www.r-project.org). My favorite is the R introduction by Petra Kuhnert and Bill Venables (Kuhnert and Venables 2005), but beware: this ”introduction” comprises more than 300 pages!

[1]  Martijn Gough Climate change , 2009, Canadian Medical Association Journal.

[2]  C. Heip,et al.  Diversity of nematode assemblages along a Mediterranean deep-sea transect , 1991 .

[3]  H. L. Sanders,et al.  Marine Benthic Diversity: A Comparative Study , 1968, The American Naturalist.

[4]  Uwe Ligges,et al.  Scatterplot3d - an R package for visualizing multivariate data , 2003 .

[5]  H. Caswell Matrix population models : construction, analysis, and interpretation , 2001 .

[6]  P. Verhulst,et al.  Notice sur la loi que la population suit dans son accroissement. Correspondance Mathematique et Physique Publiee par A , 1838 .

[7]  A. J. Lotka,et al.  Elements of Physical Biology. , 1925, Nature.

[8]  D. Wolf-Gladrow,et al.  CO2 in Seawater: Equilibrium, Kinetics, Isotopes , 2001 .

[9]  Friedrich Leisch,et al.  Sweave: Dynamic Generation of Statistical Reports Using Literate Data Analysis , 2002, COMPSTAT.

[10]  Frank J. Millero,et al.  International one-atmosphere equation of state of seawater , 1981 .

[11]  Peter Dalgaard,et al.  R Development Core Team (2010): R: A language and environment for statistical computing , 2010 .

[12]  M. Saier,et al.  Climate Change, 2007 , 2007 .

[13]  Karline Soetaert,et al.  A Practical Guide to Ecological Modelling: Using R as a Simulation Platform , 2008 .

[14]  R. Fisher THE USE OF MULTIPLE MEASUREMENTS IN TAXONOMIC PROBLEMS , 1936 .

[15]  B. Delille CO2 in Seawater: Equilibrium, Kinetics, Isotopes , 2002 .

[16]  S. Hurlbert The Nonconcept of Species Diversity: A Critique and Alternative Parameters. , 1971, Ecology.

[17]  P. Verhulst Notice sur la loi que la population pursuit dans son accroissement , 1838 .

[18]  P. Herman,et al.  A Practical Guide to Ecological Modelling , 2009 .

[19]  A. J. Lotka Elements of Physical Biology. , 1925, Nature.