[R-sig-Geo] rescaling spatstat owin window

Rolf Turner r.turner at auckland.ac.nz
Mon Sep 22 23:19:56 CEST 2014


On 23/09/14 00:32, jquets rsiggeo wrote:
> Hi Marcelino,
>
> by rescaling I mean changing the size of the polygon without changing its
> shape,
>
> so affine seems indeed what I'm looking for.


In addition to affine() you might also want to think about using 
rescale() and scalardilate().

I always find rescaling, simple though it is, to be a bit head-twisting.
Remember that if you "rescale everything" then replotting the 
"everything" will look no different than before; all you have really 
done is change the units (e.g. from metres to furlongs).  An obvious 
assertion but one that needs to be kept in mind (at least in my mind!).

cheers,

Rolf Turner

-- 
Rolf Turner
Technical Editor ANZJS



More information about the R-sig-Geo mailing list