Displaying 1 result from an estimated 1 matches for "ewrgnd".
Did you mean:
errand
2010 Jan 18
3
Using the output of strsplit
I successfully combined my data frames, and am now on my next hurdle.
I had combined the data and quarter, and used tapply to count the
entries for each unique date/quarter pair.
ar= tapply(ewrgnd$gw, list(ewrgnd$dq), sum) #for each date/quarter
combination sums the gw (which are all 1)
dq=row.names(ar)
spl=strsplit(dq)
But I need to split them back into the separate date and quarter. So I
used strsplit(), and get
> spl
[[1]]
[1] "2009-01-01" "60"
[[2]]
[1] &...