a data frame for the observations with columns LD1, LD2, ... for the discriminant dimensions
Arguments
x
An object of class "lda" such as results from MASS::lda()
prior
The prior probabilities of the classes. By default, taken to be the proportions in what was set
in the call to MASS::lda()
dimen
The dimension of the space to be used. If this is less than the number of available dimensions,
\(min(p, ng-1)\), only the first dimen discriminant components are used.