Skip to content
Prev 164509 / 398502 Next

candisc plotting

Dear Pete,

You haven't told us what your data is, and we can only surmise -- not 
very helpful for you and annoying for those who try to help.
Pete Shepard wrote:
From this, it seems that species is numeric variable, not a factor.
If so, canonical discriminant analysis in not appropriate, so
all following bets are off.

That's likely why you end up with only one canonical dimension.
Is data=i the same as data=i.txt?
What was your SAS code? Was the data the same?
If you want to compare plots for canonical analysis in SAS and R,
see my macros, canplot and hecan at
http://www.math.yorku.ca/SCS/sasmac/

But in general, if all you have is 1 canonical dimension, a dotplot or
boxplot of the canonical scores would be more useful than a scatterplot 
plot of can1 * can1.

The plot method for candisc objects in the candisc package has some
code to handle the 1 can-D case.

hope this helps
-Michael