[R] candisc() error message

From: Tanya Yatsunenko <yata25_at_gmail.com>
Date: Sun, 15 Jun 2008 19:22:47 -0500

I am doing canonical discriminant analysis using candisc function from the candisc package.
My input is a table of species distribution (columns = abundance of each species in each sample) in samples that are split by categories (rows), and I want to know whether each category is associated with a particular set of species and their abundances.

I have 20 rows (samples) split into 6 categories, and 17 columns (species).

I am getting the following error message, which I don't understand:

> can<-candisc(mod, data=canIN)

Error in linear.hypothesis.mlm(mod, hyp.matrix.2, SSPE = SSPE, V = V, :   The error SSP matrix is apparently of deficient rank = 16 < 17

Does anyone has any experience in candisc?


	[[alternative HTML version deleted]]

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 16 Jun 2008 - 00:26:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 16 Jun 2008 - 04:31:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive