[R] spatstat sub-selection

Tom_R tom.richardson at bristol.ac.uk
Sun Jun 6 00:26:17 CEST 2010


Fellow Users,

In Spatstat, if you have a ppp object with, say 100 points, how do you
create another ppp containing a random selection, N, of the original?

You can tell the function 'rthin' to make a sub-selection of points, i.e.
"every point is removed with probability 0.5" but you CAN'T set N exactly...

I'm sure this should be easy...

Ta!

Tom
-- 
View this message in context: http://r.789695.n4.nabble.com/spatstat-sub-selection-tp2244619p2244619.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list