[R] a geographical factor
Rolf Turner
r.turner at auckland.ac.nz
Sat Mar 1 06:36:53 CET 2014
On 01/03/14 16:36, Bill wrote:
> Hi, Thanks. I see that quadrats, Divides window into rectangular
> quadrats and returns the quadrats as a tessellation. Do you know what
> they mean by window?
Yes, I do. And so would you if you read the documentation that comes
with spatstat. Perhaps start with ?spatstat. See fortune("WTFM").
The vignette "Getting started with spatstat" might also be of some help.
And I saw this:
>
> W<- square(10)
> Z<- quadrats(W, 4, 5)
> plot <http://inside-r.org/r-doc/graphics/plot>(Z)
>
> data <http://inside-r.org/r-doc/utils/data>(letterR)
> plot <http://inside-r.org/r-doc/graphics/plot>(quadrats(letterR, 5, 7))
>
>
>
>
> but my environment does not know what square() is.
You have to install and load the spatstat package!!! Sigh.
cheers,
Rolf Turner
More information about the R-help
mailing list