Hello, thank you very much for this solution, i'll try to adapt it to my problem, i think i'll be able to. By the way, i wrote about a "sliding-window" weight matrix, it's an expression used in satellite images processing, esp. convolution filters, meaning that the main matrix is not confronted to another one of the same dimensions, but to a much smaller one. The calculus is executed value by value (pixels on an image), centering the small matrix on each one, hence the name of sliding window.
-- Laurent Jégou Cartographe et enseignant UTM - Dépt. Géographie 31058 TOULOUSE Cedex 9 - 05.61.50.43.89 http://www.univ-tlse2.fr/geoprdc [[alternative HTML version deleted]]Received on Fri 22 Apr 2011 - 07:12:01 GMT
______________________________________________ R-help_at_r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Archive maintained by Robert King, hosted by
the discipline of
statistics at the
University of Newcastle,
Archive generated by hypermail 2.2.0, at Fri 22 Apr 2011 - 15:00:32 GMT.
Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.
list of date sections of archive