spatialsegregation-helpers {spatialsegregation} | R Documentation |
Small functions included in package spatialsegregation
, used for manipulation of forest datasets which
have dbh-values (pp with a component dbh).
clean_up_data(pp, dbh = 10, atleast = 10) freqs(pp) minusID(pp, minusR, dbh = 0, atleast = 0) shake(pp, a = 0.001)
pp |
Multitype point pattern (see package 'spatstat') |
atleast |
Include specii with abundance atleast atleast . |
dbh |
Include only those points with dbh atleast dbh . |
minusR |
Range from the border withing which to exluce points (used for correction of estimates). |
a |
Size of displacement: x+Unif(-a,a), y+Unif(-a,a). |
Date: | 2009-04-03 |
License: | GPL v2 or later |
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.
Tuomas Rajala University of Jyvaskyla, Finland tarajala@maths.jyu.fi