Displaying 1 result from an estimated 1 matches for "tp2307292p2312424".
2010 Jul 29
2
Using '[' as a function
I am learning R, and instead of learning by rote, I am trying to better
understand the language in order to improve my programming. So any
"meta-information" on why the following code works would be greatly
appreciated...
I obtained this code to extract the first record from each of a series of
vectors in a list:
>example<- list(c(1,2),c(3,4),c(4,5))
[[1]]
[1] 1 2
[[2]]
[1] 3 4