powered by
rescue.rectangle(W)
"owin"
W
"rectangle"
"polygonal"
"mask"
TRUE
If so, the function returns this rectangle, a window object of type "rectangle". If not, the function returns W.
as.owin
owin.object
w <- owin(poly=list(x=c(0,1,1,0),y=c(0,0,1,1))) rw <- rescue.rectangle(w) w <- as.mask(unit.square()) rw <- rescue.rectangle(w)
Run the code above in your browser using DataLab