Description Usage Arguments Value Author(s) See Also Examples
This function counts the number of points from a point pattern within a specified window.
For examples see
http://faculty.missouri.edu/~micheasa/sppmix/sppmix_all_examples.html#Count_pts
1 | Count_pts(pp, win)
|
pp |
Object of class |
win |
The window of observation as an
object of class |
An integer representing the number of points from pp
within the window win
.
Sakis Micheas
rsppmix
,
rmixsurf
,
plotmix_2d
,
square
,
owin
1 2 3 4 5 6 7 8 9 | truemix_surf=rmixsurf(m = 3,lambda=100, xlim=c(-5,5),ylim=c(-5,5))
genPP=rsppmix(truemix_surf)
plotmix_2d(truemix_surf,genPP)
Count_pts(genPP,spatstat::square(1))
Count_pts(genPP,spatstat::square(2))
Count_pts(genPP,spatstat::square(3))
Count_pts(genPP,spatstat::square(4))
Count_pts(genPP,spatstat::square(5))
Count_pts(genPP,spatstat::owin(c(-5,5),c(-5,5)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.