Small functions included in package spatialsegregation
, used for manipulation of forest datasets which
have dbh-values (pp with an element $dbh).
clean.up.data(pp, dbh = 10, atleast = 10)
freqs(pp)
minusID(pp, minusR, dbh, atleast=0)
shake(pp, a = 0.001)
Multitype point pattern (see package 'spatstat')
Include specii with abundance atleast atleast
.
Include only those points with dbh atleast dbh
.
Range from the border withing which to exluce points (used for correction of estimates).
Size of displacement: x+Unif(-a,a), y+Unif(-a,a).
Small functions to manipulate multitype point patterns.
clean.up.data
: Returns a subsample fullfilling the given constrains.
freqs
: Returns the abundance vector.
minusID
: Returns a 0-1-vector indicating inclusion in a simple minus-correction.
shake
: Shakes the pattern, i.e. adds a random displacement shift to each point.