Re: [R] puzzling Date math result

2012-04-17 Thread Chabot, Denis
Thank you both to Michael and Calum, Your comments pointed me to the answer. I did not succeed in making a useful reproducible example using dput(), so I'll have to study that command further. But it is no longer necessary for this thread to have a successful end. Your comments about floating

Re: [R] having problems re-ordering a dataframe

2007-10-27 Thread Chabot Denis
Thank you very much for your detailed explanation and two solutions, Duncan. Denis Le 07-10-27 à 12:44, Duncan Murdoch a écrit : > Chabot Denis wrote: >> Dear R users, >> >> I need to reorder a dataframe using 3 variables for the determine >> the sorting order. &

[R] having problems re-ordering a dataframe

2007-10-27 Thread Chabot Denis
Dear R users, I need to reorder a dataframe using 3 variables for the determine the sorting order. When I create a simple dataframe to test the method, things work as I expected: a1 <- rep(1:10, each=8) a2 <- rep(rep(1:2, each=4), 10) a3 <- rep(c(1:4),20) (a <- data.frame(a1, a2, a3)) for e

[R] Confused about Tukey mult. comp. after ANCOVA

2007-10-11 Thread Chabot Denis
Hi, I am reposting this as I fear my original post (on Oct. 4th) got buried by all the excitement of the R 2.6 release... I had a first occasion to try multiple comparisons (of intercepts, I suppose) following a significant result in an ANCOVA. As until now I was doing this with JMP, I comp

[R] Confused about Tukey mult. comp. after ANCOVA

2007-10-04 Thread Chabot Denis
Hi, I had a first occasion to try multiple comparisons (of intercepts, I suppose) following a significant result in an ANCOVA. As until now I was doing this with JMP, I compared my results and the post-hoc comparisons were different between R and JMP. I chose to use an example data set from