data(iris)
x = iris[, -5]
y = iris$Species
# Default x y interface
mlcModel1 = MLC(x, y)
# Formula interface
mlcModel2 = MLC(Species ~ Petal.Length + Petal.Width, iris)
# Formula except one column
mlcModel3 = MLC(Species ~ . - Sepal.Length, iris)
Run the code above in your browser using DataLab