Printing results of discriminant analysis of probability density functions

Description

Applies to an object of class "fdiscd.misclass". Prints the numerical results of fdiscd.misclass.

Usage

1
2
## S3 method for class 'fdiscd.misclass'
print(x, dist.print=FALSE, prox.print=FALSE, digits=2, ...)

Arguments

x

object of class "fdiscd.misclass", returned by fdiscd.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, Sabine Demotes-Mainard.

References

Boumaza, R. (2004). Discriminant analysis with independently repeated multivariate measurements: an L^2 approach. Computational Statistics & Data Analysis, 47, 823-843.

Rudrauf, J.M., Boumaza, R. (2001). Contribution <e0> l'<e9>tude de l'architecture m<e9>di<e9>vale: les caract<e9>ristiques des pierres <e0> bossage des ch<e2>teaux forts alsaciens, Centre de Recherches Arch<e9>ologiques M<e9>di<e9>vales de Saverne, 5, 5-38.

See Also

fdiscd.misclass; print.

Examples

1
2
3
4
5
6
data(castles.dated)

result = fdiscd.misclass(castles.dated$stones, castles.dated$periods)
print(result)
print(result, dist.print=TRUE)
print(result, prox.print=TRUE)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.