# NOT RUN {
## load example data set, potential end-members, output of model.EM()
data(example_EMpot)
## define limits for robust end-members
limits <- cbind(c(61, 74, 95, 102),
c(64, 76, 100, 105))
## get robust end-member loadings with plot output
robust_loadings <- robust.loadings(em = EMpot,
limits = limits,
plot = TRUE)
# }
Run the code above in your browser using DataLab