Re: [R] candisc plotting

2008-12-12 Thread Michael Friendly
You might try something like do.can <- candisc(do.mod, data=do) plot(do.can) But, in your example there is only one canonical dimension there are only two levels of the factor. In any case, do.can$scores has the scores, so you can try to plot them however you like. For a 1-D plot in a case

Re: [R] candisc plotting

2008-12-12 Thread Pete Shepard
Dear Michael, 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. Apologies, I am brand new to R and this mailing list. Will try to be more concise. Here is my data a NEW verion of my data: Curvature Diameter Qu

Re: [R] candisc plotting

2008-12-11 Thread Michael Friendly
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: Hello, I have a file with two dependent variables (three and five) and one independent variable. I do i.mod <- lm(cbind(three, fi

[R] candisc plotting

2008-12-11 Thread Pete Shepard
Hello, I have a file with two dependent variables (three and five) and one independent variable. I do i.mod <- lm(cbind(three, five) ~ species, data=i.txt) and get the following output: Coefficients: three five (Intercept) 9.949 9.586 species -1.166 -1.156 I do a" i.ca