Re: [R] analysis of variance test

2015-05-29 Thread Michael Dewey
Dear Nezahat In future it would be helpful if you 1 - gave us the data so we can reproduce what you are doing 2 - told us what the error was in case we cannot replicate ti 3 - did not post in HTML as it messes up everything in your post What did you think x1 - numeric was going to do? Try x1 -

Re: [R] analysis of variance test

2015-05-29 Thread Jim Lemon
Hi Nezahat, First, you are storing the code of the function numeric in x1 and x2. You probably want to use: x1-numeric() x2-numeric() Second, you are then storing the output of your aov summary (a list) in x1, which requires a bit of analysis to get the information you want (i.e. p value). The

[R] analysis of variance test

2015-05-28 Thread Nezahat HUnter
Let's say I have 12 observation of 5 variables and my first variable is categorical (with 4 different levels). I am trying to find out statistical significance difference between these categorical levels for each variable, but my  function is not working! Please note that my data x are in