[R] Rotation of parallel lines

2013-11-18 Thread Tonio
Dear list, Consider these two parallel segments in a plot. plot(c(1, 6), c(2, 2), type=n, xlim=c(0, 7), ylim=c(-2, 6)) segments(1, 1, 6, 1) segments(1, 3, 6, 3) How can I rotate the two lines together by a defined angle? Thank you all in advance. Best, Antonio

[R] Differences between glmmPQL and lmer and AIC calculation

2013-07-11 Thread Tonio Pieterek
details, please let me know. I would really appreciate any kind of help referring to my problem(s). Many thanks in advance! All the best, Tonio *Alain F. Zuur, Elena N. Ieno, Neil J. Walker, Anatoly A. Saveliev, Graham M. Smith. (2009). Mixed Effects Models and Extensions in Ecology with R

Re: [R] Toggle cASE

2011-12-05 Thread Tonio
this: txt2 - useRs may fly into JFK or laGuardia chartr(a-zA-Z, A-Za-z, txt2) Cheers. Am 05.12.2011 08:11, schrieb Tonio: Hello R-help list,   I am looking for way to toggle the case of the characters like a flip-flop; that is from ''Hello'' to hELLO or vice versa.   I know that there are a number

[R] Toggle cASE

2011-12-04 Thread Tonio
Hello R-help list,   I am looking for way to toggle the case of the characters like a flip-flop; that is from ''Hello'' to hELLO or vice versa.   I know that there are a number of functions like casefold, tolower, toupper, etc. but these functions change the case in an uniform way.   Thanks in