[R] Accessing single element of data.frame

vacas vacasctn at gmail.com
Mon Jul 26 21:22:19 CEST 2010


Hi I am new to R. 
I am having this problem
t1 <- read.csv("myfile.csv")
t2 <- data.frame(t1)
which have 10 row and 10 columns
t2[1,1] does not give the first element but it gives the levels, how can I
fix it. 

I will be thankful to community. 
-- 
View this message in context: http://r.789695.n4.nabble.com/Accessing-single-element-of-data-frame-tp2302770p2302770.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list