Skip to content

candisc

Visualizing Generalized Canonical Discriminant and Canonical Correlation Analysis

v1.1.1 · Jun 4, 2026 · GPL (>= 2)

Description

Functions for computing and visualizing generalized canonical discriminant analyses and canonical correlation analysis for 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 quantitative response variables and a set of dummy variables coded from the factor variable. The 'candisc' package generalizes this to higher-way 'MANOVA' designs for 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 are now provided for canonical correlation analysis when all predictors are quantitative. Methods for linear discriminant analysis are now included.

Downloads

CRAN

4.8K

Last 30 days

1740th

16K

Last 90 days

58.2K

Last year

Trend: -21.6% (30d vs prior 30d)

r2u CRAN

11

Last 30 days

38

Last 90 days

187

Last year

Trend: -50% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Packages required but not available: 'heplots', 'car'

Package suggested but not available for checking: ‘klaR’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 25, 2026
ERROR r-release-macos-x86_64

package dependencies

Package required but not available: ‘heplots’

Package suggested but not available for checking: ‘klaR’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (6)

suggests

Dependency Network

Dependencies Reverse dependencies heplots car insight dplyr ggplot2 MASS MorphoTools2 MultivariateAnalysis SurveyCC Guerry KnowBR heplots candisc

Version History

25 tracked
updated 1.1.1 ← 1.1.0 diff Jun 5, 2026
new 1.1.0 Mar 10, 2026
updated 1.1.0 ← 1.0.0 diff Nov 24, 2025
updated 1.0.0 ← 0.9.0 diff Nov 4, 2025
updated 0.9.0 ← 0.8-6 diff May 5, 2024
updated 0.8-6 ← 0.8-5 diff Oct 6, 2021
updated 0.8-5 ← 0.8-3 diff Jan 21, 2021
updated 0.8-3 ← 0.8-0 diff Apr 21, 2020
updated 0.8-0 ← 0.7-2 diff Sep 18, 2017
updated 0.7-2 ← 0.7-0 diff Nov 10, 2016
updated 0.7-0 ← 0.6-7 diff Apr 26, 2016
updated 0.6-7 ← 0.6-5 diff Apr 18, 2015
updated 0.6-5 ← 0.6-3 diff Jun 11, 2013
updated 0.6-3 ← 0.6-2 diff Mar 14, 2013
updated 0.6-2 ← 0.6-1 diff Feb 11, 2013