Displaying 1 result from an estimated 1 matches for "per2012".
Did you mean:
cerr2012
2012 Dec 17
0
User defined functions error - where is it ?
...te(x, mdays = 1, hours = 0, minutes = 0, seconds = 0)
3: floor_date(x[[w]], "month") at #15
2: trend.generator(x, "STATE", vec.states[i, 1], y) at #4
1: states.trends(per.after.sub, "CUST_SINCE")
I use several tables:
1) full1, which contains data from 2009 to 2012
2) per2012.sub, which is a subset of full1 based on the criterion:
{ date_per = '2012-01-01'
date_per = as.POSIXct(date_per,tz='', "%Y-%m-%d")
per2012.sub = subset(full1, CUST_SINCE >= date_per) }
3) per.after.sub, which is a subset of full1 based on the crit...