plsda

# S4 method for mass_dataset
plsda(
  X,
  Y = NULL,
  ncomp = 2,
  scale = FALSE,
  tol = 1e-06,
  max.iter = 100,
  near.zero.var = FALSE,
  logratio = "none",
  multilevel = NULL,
  all.outputs = TRUE
)

Arguments

X

mass_dataset

Y

a factor or a class vector for the discrete outcome.

ncomp

ncomp

scale

scale

tol

tol

max.iter

max.iter

near.zero.var

near.zero.var

logratio

logratio

multilevel

multilevel

all.outputs

all.outputs

Value

A plsda class