click.limits | R Documentation |
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.
click.limits(data, n, classunits)
data |
|
n |
|
classunits |
|
Numeric
matrix, limit classes. The first row contains lower
limits, the second row upper limits for each end-member.
Michael Dietze, Elisabeth Dietze
test.robustness
, robust.EM
## 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.