I am doing NDVI time series analysis using MODIS data.I have produced my map for NDVI trends.I produced five classes of the trends. 1.How do I calculate percentage areas for each category and the areas represented by each category? 2.How do I determine area represented by my study area?
On Tue, Oct 30, 2018 at 1:02 PM <r-sig-geo-request at r-project.org> wrote:
Send R-sig-Geo mailing list submissions to
r-sig-geo at r-project.org
To subscribe or unsubscribe via the World Wide Web, visit
https://stat.ethz.ch/mailman/listinfo/r-sig-geo or, via email, send a message with subject or body 'help' to r-sig-geo-request at r-project.org You can reach the person managing the list at r-sig-geo-owner at r-project.org When replying, please edit your Subject line so it is more specific than "Re: Contents of R-sig-Geo digest..." Today's Topics: 1. Cost distance in spatial weight matrix (Roozbeh Valavi) 2. Re: Cost distance in spatial weight matrix (=?UTF-8?Q?Facundo_Mu=c3=b1oz?=) ---------------------------------------------------------------------- Message: 1 Date: Mon, 29 Oct 2018 23:42:06 +1100 From: Roozbeh Valavi <rvalavi at student.unimelb.edu.au> To: r-sig-geo at r-project.org Subject: [R-sig-Geo] Cost distance in spatial weight matrix Message-ID: < CAH-s5PM4GJ1Y92QMyYEUv4AS9gVS2SnL1zhNCTOpOTbsd2hQQw at mail.gmail.com> Content-Type: text/plain; charset="utf-8" Dear list, I wonder if it is possible to add some kind of cost/weighting when creating a spatial weight matrix to be used in a spatial lag model? I want to consider the effect of elevation as a cost for calculating distance to the neighbours. I am using spdep for creating the W and splm for the model. Thank you in advance, Roozbeh -- *Roozbeh Valavi* PhD Candidate The Quantitative & Applied Ecology Group <http://qaeco.com/> School of BioSciences | Faculty of Science The University of Melbourne, VIC 3010, Australia Mobile: +61 423 283 238 [[alternative HTML version deleted]] ------------------------------ Message: 2 Date: Mon, 29 Oct 2018 14:48:43 +0100 From: =?UTF-8?Q?Facundo_Mu=c3=b1oz?= <facundo.munoz at cirad.fr> To: r-sig-geo at r-project.org Subject: Re: [R-sig-Geo] Cost distance in spatial weight matrix Message-ID: <692c3f9c-38e1-9428-8de7-8f573d10ee29 at cirad.fr> Content-Type: text/plain; charset="utf-8" Dear Roozbeh, package geoRcb [1]* provides function distmatGen() [2], which computes a cost-based distance matrix between any two sets of locations, given a raster cost surface (such as elevation). The function uses package gdistance to actually perform the computations, and it does not depend on anything else in the package, so you can simply copy it to your code base. Is that what you were looking for? ?acu.- [1] https://github.com/famuvie/geoRcb/ [2] https://github.com/famuvie/geoRcb/blob/master/R/distmatGen.R * Disclaimer: I'm the author. On 10/29/18 1:42 PM, Roozbeh Valavi wrote: Dear list, I wonder if it is possible to add some kind of cost/weighting when creating a spatial weight matrix to be used in a spatial lag model? I want to consider the effect of elevation as a cost for calculating distance to the neighbours. I am using spdep for creating the W and splm for the model. Thank you in advance, Roozbeh [[alternative HTML version deleted]] ------------------------------ Subject: Digest Footer _______________________________________________ R-sig-Geo mailing list R-sig-Geo at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo ------------------------------ End of R-sig-Geo Digest, Vol 182, Issue 13 ******************************************