click.limits {EMMAgeo}  R Documentation 
This function allows defining limits for robust endmembers by mouse clicks on a combined plot output, showing a histogram and all endmembers together. Clicks must be placed in the order lower limit, upper limit  for each endmember 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 endmember.
Michael Dietze, Elisabeth Dietze
## 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