I'm new in R and i'm trying to do some prognosis using GA connection using forecast library.
I have an input data like this:
day month year visits
1 01 01 2013 21821
2 02 01 2013 17865
3 03 01 2013 25300
4 04 01 2013 41184
5 05 01 2013 48953
6 06 01 2013 64135
It grabs the visits for the days of each month and year.
When i try to use ts function i go like this:
visits.ts=ts(ga.data$visits, start=c(2013,1), end=c(2014,1), frequency=12)
Given the output like this:
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2013
2014
Here is my question- how can i split the month to days and create an output like this:
01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
January 2013
February 2013