hello,

Does nobody know what the problem could be? :((((

2007/5/26, Soare Marcian-Alin <[EMAIL PROTECTED]>:
>
> Hello,
>
> I have a problem with the function concar:
>
> data set: 
> http://www.statistik.tuwien.ac.at/public/filz/students/multi/ss07/world2.R
>
>
> source("world2.R")
>
> world[,8] <- log(world[,8])
> world[,9] <- log(world[,9])
> x <- world[,-c(1,2)]
> x <- scale(x)
>
> a <- cancor(x[,-c(6:9)],x[,-c(1:5)])
> attributes(a)
> a
>
> How do I plot the first two canonial variables of a? And I want to take
> the rownames of world as pch ...
>
> plot(..., pch=rownames(world), col=as.numeric(world[,1]))
>
> Thanks in advance!
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to