click.limits {EMMAgeo} | R Documentation |
Define mode limits by mouse clicks.
Description
This function allows defining limits for robust end-members by mouse clicks on a combined plot output, showing a histogram and all end-members together. Clicks must be placed in the order lower limit, upper limit - for each end-member successively.
Usage
click.limits(data, n, classunits)
Arguments
data |
|
n |
|
classunits |
|
Value
Numeric
matrix, limit classes. The first row contains lower
limits, the second row upper limits for each end-member.
Author(s)
Michael Dietze, Elisabeth Dietze
See Also
Examples
## load example data set
data(example_X)
## Test robustness
q <- 4:7
l <- seq(from = 0, to = 0.1, by = 0.02)
TR <- test.robustness(X = X, q = q, l = l)
## define 2 limits by mouse clicks (uncomment to use).
# limits <- click.limits(data = TR, n = 2)
# limits
[Package EMMAgeo version 0.9.7 Index]