toywin {spagmix} | R Documentation |
Toy Windows
Description
Synthetic spatial windows for use in testing, simulations and demonstrations.
Usage
data(bx)
data(heart)
data(shp1)
data(shp2)
data(star)
data(toywin)
Format
Each of these is a single closed polygon of class owin
.
bx
is a box on [-5,5]^2.heart
is a heart, professing love for all thingsspatstat
.shp1
is shape of mystery.shp2
is a slightly more symmetric shape of mystery.star
is a star that shines brightly in even non-spatial contexts.toywin
is the eponymous toy window used in publications e.g. Davies & Lawson (2019).
Details
These are lazy-loaded so may be called directly by name upon loading of spagmix
.
Author(s)
A.K. Redmond and T.M. Davies
References
Davies, T.M. and Lawson, A.B. (2019), An evaluation of likelihood-based bandwidth selectors for spatial and spatiotemporal kernel estimates, Journal of Statistical Computation and Simulation, 89 1131-1152.
Examples
oldpar <- par(mfrow=c(2,3))
plot(bx);axis(1);axis(2)
plot(heart);axis(1);axis(2)
plot(shp1);axis(1);axis(2)
plot(shp2);axis(1);axis(2)
plot(star);axis(1);axis(2)
plot(toywin);axis(1);axis(2)
par(oldpar)