Printing results of discriminant analysis of discrete probability distributions
Printing results of discriminant analysis of discrete probability distributions
print function, applied to an object of class "discdd.predict", prints numerical results of discdd.predict .
## S3 method for class 'discdd.predict'print(x, dist.print=TRUE, prox.print=FALSE, digits=2,...)
Arguments
x: object of class "discdd.predict", returned by discdd.predict .
dist.print: logical. If TRUE (the default), 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 between, on one side, the groups (densities) and, on the other side, the classes (of groups or densities).
digits: numerical. Number of significant digits for the display of numerical results.
...: optional arguments to print methods.
Details
By default, are printed:
if available (if misclass.ratio argument of discdd.predict was TRUE), the whole misallocation ratio, the confusion matrix (allocations versus origins) and the misallocation ratio per class are printed.
the data frame the rows of which are the groups, and the columns of which are of the origin (NA if not available) and allocation classes.
If dist.print = TRUE or prox.print = TRUE, the distances or proximity indices between groups and classes, are displayed.
Author(s)
Rachid Boumaza, Pierre Santagostini, Smail Yousfi, Gilles Hunault, Sabine Demotes-Mainard