# NOT RUN {
require(pls)
data(mayonnaise)
# PPLS-DA
# }
# NOT RUN {
pairwise.MVA.test(mayonnaise$NIR,factor(mayonnaise$oil.type),model="PPLS-DA")
# }
# NOT RUN {
# The function needs a long calculation time!
# }
Run the code above in your browser using DataLab