Re: [R] MANOVA

2009-03-12 Thread Jen_mp3
No, MANOVA is for Multivariate analysis of variance which is used if there are multiple responses as well as variables but you just have one response which is blood pressure. You should just have model <- lm(BP ~Weight+Height) anova(model) If Weight is related to Height only one should be signific

Re: [R] Couple of Questions about Classification trees

2009-03-11 Thread Jen_mp3
Okay perhaps I should've been more clear about the data. Im actually working on spectroscopic measurements from food authenticity testing. I have five different types of meat: 55 of chicken, 55 of turkey, 55 of pork, 34 of beef and 32 of lamb - 231 in total. On each of these 231 meats, 1024 spect

[R] Couple of Questions about Classification trees

2009-03-11 Thread Jen_mp3
So I have 2 sets of data - a training data set and a test data set. I've been doing the analysis on the training data set and then using predict and feeding the test data through that. There are 114 rows in the training data and 117 in the test data and 1024 columns in both. It's actually the same

Re: [R] How to remove NAs and lme function

2008-05-28 Thread Jen_mp3
Thanks, that worked! Andrew Robinson-6 wrote: > > Jen, > > try > > na.action = na.exclude > > Andrew > > > On Wed, May 28, 2008 9:26 pm, Jen_mp3 wrote: >> >> I am working on a project to find a model for the concentration of >> dissolve

[R] How to remove NAs and lme function

2008-05-28 Thread Jen_mp3
I am working on a project to find a model for the concentration of dissolved oxygen in the river clyde. Ive fitted a linear mixed model as lme(DOW~Temperature+Salinity+Year+factor(Station)*factor(Depth), random~1|id), where id is an identifier of the day over 20 years defined as Day*1 + Month*