Skip to content

candisc

Visualizing Generalized Canonical Discriminant and Canonical Correlation Analysis

v1.1.0 · Nov 24, 2025 · 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

4K

Last 30 days

1979th

12K

Last 90 days

51.3K

Last year

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

CRAN Check Status

14 OK
Show all 14 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-macos-arm64 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 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

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
updated 0.6-1 ← 0.6-0 diff Jan 29, 2013
updated 0.6-0 ← 0.5-21 diff Jan 22, 2013
updated 0.5-21 ← 0.5-19 diff Dec 10, 2011
updated 0.5-19 ← 0.5-18 diff Sep 18, 2010
updated 0.5-18 ← 0.5-16 diff Jul 28, 2010
updated 0.5-16 ← 0.5-15 diff Nov 18, 2009