[R] How to call data elements

Wonjae Lee wjlee2002 at naver.com
Wed Apr 6 16:03:59 CEST 2011


Hi, 

I have a stupid and simple question. 
Please forgive me. 

In an example below, please tell me how to call  "1947" in mydata. 
Thank you in advance. 

Wonjae 

> mydata 
[[1]] 
[1] "1947"    "83"      "234.289" "235.6"   "159"     "107.608" "1947"   
[8] "60.323" 

> mydata[[1],1] 
error:unexpected ',' in "aa[[1]," 
> mydata[1,[1]] 
error:unexpected '[' in "aa[1,["

--
View this message in context: http://r.789695.n4.nabble.com/How-to-call-data-elements-tp3430859p3430859.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list