Extracts the ratio of correctly classified cases from the output of lda.
percentage(dataset, starting_vector, prior)Contains only the dataset as a matrix (without labels).
A vector specifying the class for each observation.
A specified method that can be either "proportions" (in the case of different group sizes) or "equal" (in the case of equal group sizes).
The ratio of correctly classified cases by lda for the input grouping.