Wednesday, March 11, 2009

R Basics - I


Reading Data in R

The vector is the simplest way to store more than one value in R. The 'c' function (mnemonic for catenate or combine) allows you to quickly enter data into R:

> x = c(1, 2, 5, 10) 

# or x <- c(1, 2, 5, 10)

[TBC]

No comments: