Sandra.Schwab at unige.ch
2010-Mar-09 18:32 UTC
[R] plotlmer graphics/x-axis and legend options
Hi, I am Using R.2.9.2 and I am trying to make nicer some graphics, which are constructed with plotmer.fnc. In particular, I have two questions: 1. Is is a way to decide in which order we want the labels on the x-axis. For now, the reference value label is the first one, and the other labels appear in the alphabetical order. I would like them to be sorted in the ascending way. Here is my code: plotLMER.fnc(idtt_lmer7bis, xlabel ="", xlabs =NA, ylabel = "Reaction time (ms)", fun = NA, pred = "Condition", n = 100, , mcmcMat = NA, lockYlim = TRUE, addlines = TRUE, withList = FALSE, cexsize = 0.7, lwd=2, font=2, cex.lab=1.25, tcl=-0.5, las=2, cex.axis=0.7) 2. In the plotlmer graphic with an interaction, is it possible to remove the legend of the interacted factor? Again here is my code: plotLMER.fnc(idbase_lmer22bis, xlabel = "Competence in L2", xlabs = NA, ylabel = "Reaction time (ms)", ylimit =c(300,1300), fun = NA, pred = "Groupe", n = 100, intr=list("Lexical_status", c("Word", "PseudoWord"), "end", list(c("red", "blue"), lty=c(1,4), rep(1,2))), mcmcMat = NA, lockYlim = TRUE, addlines = TRUE, withList = FALSE, cexsize = 1, lwd=2, font=2, cex.lab=1.25, tcl=-0.5). Sorry if these questions are trivial, but I am been looking for an answer for two entire days now, and I would really appreciate your help!! Sandra Schwab ********* Sandra Schwab Charg?e d'enseignement Universit? de Gen?ve ELCF/LATL Uni Bastions 5, rue de Candolle 1211 Gen?ve 4 http://www.unige.ch/lettres/elcf/contact/Pageenseignants/Schwab.html