[R] Question on meaning of '%+%', '%?%' (? = various single letter) in code

2012-06-01 Thread Mike Hilt
Hello. I’ve seen several uses of '%?%' in R code (with ? = a single letter or other characters used as the middle character in a 3 character string with '%' as the 1st and 3rd characters). I’ve also recently seen ‘%+%’ usage at: http://vita.had.co.nz/papers/ggplot2-wires.pdf on p. 7 of the

Re: [R] Question on meaning of '%+%', '%?%' (? = various single letter) in code

2012-06-01 Thread peter dalgaard
On Jun 1, 2012, at 00:30 , Mike Hilt wrote: Could someone help me out and let me know what ‘%?%’ (where ? = a single letter in a 3 character string with ‘%’ being the 1st and 3rd characters), and/or ‘%+%’ does in R code/function? They are just a vehicle for defining binary operators: