background preloader

The R programming language for programmers coming from other programming languages

The R programming language for programmers coming from other programming languages
IntroductionAssignment and underscoreVariable name gotchasVectorsSequencesTypesBoolean operatorsListsMatricesMissing values and NaNsCommentsFunctionsScopeMisc.Other resources Ukrainian translation Other languages: Powered by Translate Introduction I have written software professionally in perhaps a dozen programming languages, and the hardest language for me to learn has been R. R is more than a programming language. This document is a work in progress. Assignment and underscore The assignment operator in R is <- as in e <- m*c^2. It is also possible, though uncommon, to reverse the arrow and put the receiving variable on the right, as in m*c^2 -> e. It is sometimes possible to use = for assignment, though I don't understand when this is and is not allowed. However, when supplying default function arguments or calling functions with named arguments, you must use the = operator and cannot use the arrow. At some time in the past R, or its ancestor S, used underscore as assignment. Vectors Sequences

http://www.johndcook.com/R_language_for_programmers.html

Technical resources - The IAVS Vegetation Classification Methods Website This section lists technical resources (data sources, software, on-line tutorials...) that can be helpful to perform classifications of vegetation. Readers are encouraged to report any new resource that is missing by contacting any of the current contributors of VCM. Millions of vegetation plots have been collected and partly digitized for local and regional purposes.

Quick-R: Home Page Ordinary Kriging Example: R via text file Submitted by dylan on Mon, 2007-06-11 01:58. Overview: A simple example of how to use R to perform interpolation with ordinary kriging, using data from a text file. This example makes use of the gstat library for R. Additional examples of how to use the following gstat functions are included: Things I tend to forget Learning R The R Project for Statistical Computing

Home Page

Related: