Re: [R] pairwise.t.test non numeric factors error

2015-06-03 Thread peter dalgaard
> On 03 Jun 2015, at 22:05 , Erica Cseko Nolasco wrote: > > I tried using TRUE instead T, but it gave me the same error. (Script on the > bottom) > I really want a paired test and it seems to give me as we can see on the > following matrix. > No idea what is happening > I get the impression

Re: [R] pairwise.t.test non numeric factors error

2015-06-03 Thread Erica Cseko Nolasco
I tried using TRUE instead T, but it gave me the same error. (Script on the bottom) I really want a paired test and it seems to give me as we can see on the following matrix. No idea what is happening > pairwise.t.test(x = data$tss,data$pa,p.adjust.method = 'bonferroni',paired=TRUE) Error in compl

Re: [R] pairwise.t.test non numeric factors error

2015-06-03 Thread peter dalgaard
> On 03 Jun 2015, at 19:14 , Erica Cseko Nolasco wrote: > > Thanks Jim, > > I removed the corresponding cases and tried again. What I discovery now is > if I run the function without paired = T (pairwise.t.test(x = > data$tss,data$pa) is works. However, if I add the paired = T > (pairwise.t.tes

Re: [R] pairwise.t.test non numeric factors error

2015-06-03 Thread Michael Dewey
Just to be on the safe side, what is T? It is recommended to use TRUE in case you set T to something else. I think this is very unlikely to solve the problem but it is worth trying. On 03/06/2015 18:14, Erica Cseko Nolasco wrote: Thanks Jim, I removed the corresponding cases and tried again.

Re: [R] pairwise.t.test non numeric factors error

2015-06-03 Thread Erica Cseko Nolasco
Thanks Jim, I removed the corresponding cases and tried again. What I discovery now is if I run the function without paired = T (pairwise.t.test(x = data$tss,data$pa) is works. However, if I add the paired = T (pairwise.t.test(x = data$tss,data$pa,paired = T) is gives me the error ' Error in compl

Re: [R] pairwise.t.test non numeric factors error

2015-06-02 Thread Jim Lemon
Hi Erica, The problem may be that you are specifying a grouping factor (mdl) in which the group sizes are unequal. If one case in group "tot" is missing, is it possible to identify the corresponding cases in the other factor levels and delete them? Jim On Tue, Jun 2, 2015 at 11:59 PM, Erica Csek

[R] pairwise.t.test non numeric factors error

2015-06-02 Thread Erica Cseko Nolasco
Dear listers, I'm performing a PERMANOVA (adonis{vegan}) to compare the results (ROC, TSS) of models based on two factors (model, algo). I was not able to find a pairwise test for adonis, on PRIMER it would be a Tukey test. Though, I chose to perform a pairwise.t.test what would be quite simple. H