Skip to content
Prev 311224 / 398513 Next

Error in `[.data.frame`... undefined columns selected

On Nov 18, 2012, at 6:34 PM, Eiko Fried wrote:

            
You have probably misspelled one or more the column names. For  
instance I suspect that one or both of these might be lacking a second  
"_" : "d_s8m","d_s9m"

If you feel thsi is wrong then you at the very least need to offer  
str(data)

BTW, data is the name of a perfectly good function, so naming your  
dataframe "data" is likely to create confusion.