Displaying 1 result from an estimated 1 matches for "differentiaton".
Did you mean:
differentiation
2008 Sep 23
0
additional parameters in function called by tapply
...ar | spatial1 | spatial2 | spatial3 | parameter
the values are given for spatial1 units, i.e. the com
spatial3 contains one or many spatial2 units, spatial2 contains one or many spatial1 units.
The normal aggregation goes in a two step way:
a) summation of the parameter values of the same spatial differentiaton (e.g. sums of spatial2 or spatial3)
b) calculation of the average of several years of the sums
for step a I use tapply with the following call
indices <- (list(year,spatial2,parameter)
resultspatial <- tapply(value,indices,sum)
for step b I use apply with the result of a and a function bl...