train(x, lab = rep("x", nrow(x)))x. If missing, all data is
assumed to be from the same class.lab.rbind.
If the input data is one-dimensional, this is just the standard deviation
of the data.rbind. If the input
data is one-dimensional, this is just the reciprocal of the standard
deviation of the data.mahal or bayes.lab functions to
classify either the training set (x) or a test set with the same
number of dimensions. Train simply finds the mean and inverse covariance
matrix/standard deviation for the data corresponding to each unique label
in labs.