Re: [R] Matrix manipulation in for loop

2011-05-16 Thread jm_jem
hello
I think if you try this:

for(j in  1: length(nsample)){
MEANS[,]-create.means.one.size(j,var,nboot)
} 


it will work

--
View this message in context: 
http://r.789695.n4.nabble.com/Matrix-manipulation-in-for-loop-tp3525849p3525888.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org 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.


[R] hotelling and confidence region

2011-05-15 Thread jm_jem
Good morning 

I've made an PCA and I'd like to plot a confidence region based on Hotelling
T2? Does anyone know how to compute it? 

Thank you

--
View this message in context: 
http://r.789695.n4.nabble.com/hotelling-and-confidence-region-tp3524204p3524204.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org 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.