| get.limits | R Documentation |
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.
get.limits(loadings, classunits, bw, threshold = 0.7)
loadings |
|
classunits |
|
bw |
|
threshold |
|
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!
Numeric matrix with lower and upper mode limits.
Michael Dietze, Elisabeth Dietze
EMMA, model.EM
## load example data set data(example_EMpot) ## infer mode cluster limits limits <- get.limits(loadings = EMpot)