Last chance! 50% off unlimited learning
Sale ends in
## S3 method for class 'owin':
[(x, i, \dots)
"owin"
)."owin"
).x
and the domain specified by i
,
using intersect.owin
.
This function is a method for the subset operator "["
for
spatial windows (objects of class "owin"
). It is provided
mainly for completeness. The index i
may be either a window, or a pixel image with
logical values (the TRUE
values of the
image specify the spatial domain).
intersect.owin
W <- owin(c(2.5, 3.2), c(1.4, 2.9))
plot(letterR)
plot(letterR[W], add=TRUE, col="red")
Run the code above in your browser using DataLab