get.limits {EMMAgeo} | R Documentation |
Infer lower and upper mode position limits to define robust end-members.
Description
This function identifies the lower and upper limits within which robust end-members have clustered mode positions. It uses a kernel density estimate of the mode positions of all input end-member loadings, clips it at a user-defined minimum density and returns the resulting rising and falling shoulders of the kde peaks as limits.
Usage
get.limits(loadings, classunits, bw, threshold = 0.7)
Arguments
loadings |
|
classunits |
|
bw |
|
threshold |
|
Details
Note that the threshold above which a mode cluster is identified is an arbitrary, user-defined value and probably needs to be adjusted iteratively to get reasonable results. The default value may or may not be adequate!
Value
Numeric
matrix with lower and upper mode limits.
Author(s)
Michael Dietze, Elisabeth Dietze
See Also
Examples
## load example data set
data(example_EMpot)
## infer mode cluster limits
limits <- get.limits(loadings = EMpot)