Re: [R] multivariate analysis

2010-11-27 Thread Kjetil Halvorsen
if you want linear models (not specified), something like this should work: Put your 1800 response variables (as columns) in a nx1800 matrix resp_mat, and then lm(resp_mat ~ latitude*age) # interactions lm(resp_mat ~ latitude+age # without interactions Kjetil On Fri, Nov 26, 2010 at 9:01 PM,

Re: [R] multivariate analysis

2010-11-26 Thread Rosario Garcia Gil
Hi I have 1800 response variables to regress on two factors (latitude and age), what is the script to run all response variables at once instead of writing 1800 models? Thanks R. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/lis

[R] multivariate analysis

2010-11-26 Thread Rosario Garcia Gil
Hi I have 1800 response variables to regress on two factors (latitude and age), what is the script to run all response variables at once instead of writing 1800 models? Thanks R. Lähettäjä: r-help-boun...@r-project.org [r-help-boun...@r-project.org] kä

[R] multivariate analysis of variance

2010-08-25 Thread celal arslan
Hi, can anyone tell me how i may find out the between-group variance and within-group variance for multivariate case? I have 6 Groups and 73 Variables. (with MANOVA ? wie) dim(data) [1] 2034   76 Thanks Celal __ R-help@r-project.org mailing l