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]
For now a companion webpage-cum-blog for the 'Computer Applications in Finance' Course @ NMIMS
No comments:
Post a Comment