View source: R/print.fdiscd.misclass.R
print.fdiscd.misclass | R Documentation |
Applies to an object of class "fdiscd.misclass"
. Prints the numerical results of fdiscd.misclass
.
## S3 method for class 'fdiscd.misclass'
print(x, dist.print=FALSE, prox.print=FALSE, digits=2, ...)
x |
object of class |
dist.print |
logical. Its default value is |
prox.print |
logical. Its default value is |
digits |
numeric. Number of significant digits for the display of numerical results. |
... |
optional arguments to |
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.
Rachid Boumaza, Pierre Santagostini, Smail Yousfi, Gilles Hunault, Sabine Demotes-Mainard
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 à l'étude de l'architecture médiévale: les caractéristiques des pierres à bossage des châteaux forts alsaciens, Centre de Recherches Archéologiques Médiévales de Saverne, 5, 5-38.
fdiscd.misclass; print.
data(castles.dated)
castlesfh <- folderh(castles.dated$periods, "castle", castles.dated$stones)
result <- fdiscd.misclass(castlesfh, "period")
print(result)
print(result, dist.print=TRUE)
print(result, prox.print=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.