Functions for computing and visualizing generalized canonical discriminant analyses and canonical correlation analysisfor a multivariate linear model.Traditional canonical discriminant analysis is restricted to a one-way 'MANOVA'design and is equivalent to canonical correlation analysis between a set of quantitativeresponse variables and a set of dummy variables coded from the factor variable.The 'candisc' package generalizes this to higher-way 'MANOVA' designsfor all factors in a multivariate linear model,computing canonical scores and vectors for each term. The graphic functions provide low-rank (1D, 2D, 3D) visualizations of terms in an 'mlm' via the 'plot.candisc' and 'heplot.candisc' methods. Related plots arenow provided for canonical correlation analysis when all predictors are quantitative. Methods forlinear discriminant analysis are now included.
| Version: | 1.1.0 |
| Depends: | R (≥ 4.1.0),heplots (≥ 0.8-6) |
| Imports: | car, graphics, stats,insight,dplyr,ggplot2,MASS |
| Suggests: | rgl,carData,corrplot,knitr,rmarkdown,rpart,rpart.plot,klaR,lifecycle,tidyr,testthat (≥ 3.0.0),RColorBrewer,tinytable |
| Published: | 2025-11-25 |
| DOI: | 10.32614/CRAN.package.candisc |
| Author: | Michael Friendly [aut, cre], John Fox [aut] |
| Maintainer: | Michael Friendly <friendly at yorku.ca> |
| BugReports: | https://github.com/friendly/candisc/issues |
| License: | GPL-2 |GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://github.com/friendly/candisc/,https://friendly.github.io/candisc/ |
| NeedsCompilation: | no |
| Language: | en-US |
| Citation: | candisc citation info |
| Materials: | NEWS |
| In views: | Psychometrics |
| CRAN checks: | candisc results |