Quantcast
Channel: Unexpected R dataframe problem - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Shane for Unexpected R dataframe problem

That's right. You have only "one variable" (i.e. column) in your data.frame. A column is a "variable" and a row is an "observation". Try this:as.Date(the_dates[,1], "%B %d, %Y")The "length" of a...

View Article



Unexpected R dataframe problem

I have a long list of dates that i want to parse, they are in a dataframe (the_dates). I've loaded them into R (from a sqlite db) just fine, however, if i do str(the_dates) i get:'data.frame': 3968...

View Article
Browsing all 2 articles
Browse latest View live


Latest Images