Printing results of discriminant analysis of discrete probability distributions
Printing results of discriminant analysis of discrete probability distributions
Applies to an object of class "discdd.misclass". Prints the numerical results of discdd.misclass.
## S3 method for class 'discdd.misclass'print(x, dist.print=FALSE, prox.print=FALSE, digits=2,...)
Arguments
x: object of class "discdd.misclass", returned by discdd.misclass.
dist.print: logical. Its default value is FALSE. If TRUE, prints the matrix of distances between, on one side, the groups (densities) and, on the other side, the classes (of groups or densities).
prox.print: logical. Its default value is FALSE. If TRUE, prints the matrix of proximity indices (in percent) )between, on one side, the groups (densities) and, on the other side, the classes (of groups or densities).
digits: numeric. Number of significant digits for the display of numerical results.
...: optional arguments to print methods.
Details
By default, are printed the whole misallocation ratio, the confusion matrix (allocations versus origins) with the misallocation ratios per class, and the data frame whose rows are the groups, and whose columns are the origin classes and allocation classes, and a logical variable indicating misclassification.
If dist.print = TRUE or prox.print = TRUE, the distances or proximity indices (in percent) between groups and classes, are displayed.
Author(s)
Rachid Boumaza, Pierre Santagostini, Smail Yousfi, Gilles Hunault, Sabine Demotes-Mainard