search for: num_interv

Displaying 1 result from an estimated 1 matches for "num_interv".

Did you mean: sum_interv
2012 Apr 04
0
crosstabs and histograms with flexible binning of dates
...ign) # LOAD FILE #parcels=read.dbf() #depending on source file parcels=read.delim("~/Projects/GIS_DATA/Parcels_NSP_BlockGroup.txt") attach(parcels) # DEFINE BINNING basedate=as.Date("2011/05/11") currentdate=basedate interval=3 #width of interval in months. 3 = quarterly num_intervals=5 #how many intervals to include after basedate for (i in c(1:num_intervals)) { startdate=currentdate enddate=seq(startdate,by="month",length=interval)[interval] #create a sequence of months of length "interval" and take last one. # crosstab construction of single col...