Hi John,
Sorry but if this sounds really as a newbie question.
I looked at the data as you suggested using glimpse(name of the dataset)
and then View(dput(head(ak,20))) to capture it as a table. Is there an
option where i can save this view table & share along.
I used dput but that would not w
It would help if you supplied a small dataset so we could
reproduce your problem problem. Here is one that gives the same
error. (I also moved some parentheses around so "%y-%m-%d"
is an argument to as.Date() instead of to group_by().)
data.frame(pickdate=paste(sep="-",15,08,c(21,22,21,22,22)),
Do an str() on the data. It looks like your variable is an integer where you
probably need a date or a factor.
Would you please include some sample data if possible. See ?dput which is the
preferred way for sending sample data. It ensures that the reader is looking at
the exact same data that y
Use mutate to change the date before you use group_by.
Posting incomplete fragments in your questions is usually not enough to get
useful help with R on the internet. Please add the extra few lines of code that
would make it reproducible [1] from now on.
[1]
http://stackoverflow.com/questions/
4 matches
Mail list logo