Skip to content

Multiple comparisons with interaction

2 messages · Mayara Amescua, ONKELINX, Thierry

#
Hi everyone,

I'd like to do a multiple comparisons for a interaction between variables
and I tried to
create a new variable to use in the glmer model.

rec.m?s<-interaction(aag$rec,aag$m?s,data=aag,drop=TRUE)

But I got this message. I've tried to follow some texthelpers but
nothing worked.

Error in sort.list(y) : 'x' must be atomic for 'sort.list'

Have you called 'sort' on a list?

Does someone could help me how to solve it?

Let me know if you need more information.

Thanks,

Mayara
1 day later
#
Interaction() has no data argument. Try interaction(aag$rec, aag$m?s, drop = TRUE) or with(aag(interaction(rec, m?s, drop = TRUE))

ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070 Anderlecht
Belgium
+ 32 2 525 02 51
+ 32 54 43 61 85
Thierry.Onkelinx at inbo.be
www.inbo.be

To call in the statistician after the experiment is done may be no more than asking him to perform a post-mortem examination: he may be able to say what the experiment died of.
~ Sir Ronald Aylmer Fisher

The plural of anecdote is not data.
~ Roger Brinner

The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data.
~ John Tukey

-----Oorspronkelijk bericht-----
Van: R-sig-mixed-models [mailto:r-sig-mixed-models-bounces at r-project.org] Namens Mayara Amescua
Verzonden: zondag 21 december 2014 0:07
Aan: r-sig-mixed-models at r-project.org
Onderwerp: [R-sig-ME] Multiple comparisons with interaction

Hi everyone,

I'd like to do a multiple comparisons for a interaction between variables and I tried to create a new variable to use in the glmer model.

rec.m?s<-interaction(aag$rec,aag$m?s,data=aag,drop=TRUE)

But I got this message. I've tried to follow some texthelpers but nothing worked.

Error in sort.list(y) : 'x' must be atomic for 'sort.list'

Have you called 'sort' on a list?

Does someone could help me how to solve it?

Let me know if you need more information.

Thanks,

Mayara


_______________________________________________
R-sig-mixed-models at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
Disclaimer Bezoek onze website / Visit our website<https://drupal.inbo.be/nl/disclaimer-mailberichten-van-het-inbo>