[R] overlapping moving windows
matteo_new
marcantonio4 at unisi.it
Mon Feb 7 14:06:18 CET 2011
Dear all,
I have a systematic and spatial organized matrix like this:
1 2 3 4 5 6 7 8 9 10
11 12 13 14 15 16 17 18 19 20
21 22 23 24 25 26 27 28 29 30
31 32 33 34 35 36 37 38 39 40
in which every number is a species.
I would create a moving overlapping window to resample, at different scale,
my plants species data matrix with every possible combination.
In short, I would obtain an output matrix like this:
resample species
1 1
1 11
1 2
1 12
2 2
2 12
2 3
2 13
3 3
3 13
3 4
3 14
etc
can anybody help?
Cheers
--
View this message in context: http://r.789695.n4.nabble.com/overlapping-moving-windows-tp3264076p3264076.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list