[Rd] precedence (was 'historical NA question')

luke-tierney at uiowa.edu luke-tierney at uiowa.edu
Wed May 7 16:40:19 CEST 2014


On Wed, 7 May 2014, Therneau, Terry M., Ph.D. wrote:

> Hadley asked about the Blue book; my shelf still has the earlier brown book
>   Becker and Chambers, 1984, S: An interactive environment for data analysis 
> and graphics.
>
> The manual page for precedence is
>
> $               component select
> %x              special operator
> -               unary minus
> :               sequence operator
> ^ **            exponentiation
> * /             mult/div
> + -             add/sub
> < > <= >= == != logical
> !               not
> & |             and/or
> <- ->           assignment
>

which did lead to some head scratching after plotting exp(-x^2) :-)

luke

> Terry Therneau
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Luke Tierney
Chair, Statistics and Actuarial Science
Ralph E. Wareham Professor of Mathematical Sciences
University of Iowa                  Phone:             319-335-3386
Department of Statistics and        Fax:               319-335-3017
    Actuarial Science
241 Schaeffer Hall                  email:   luke-tierney at uiowa.edu
Iowa City, IA 52242                 WWW:  http://www.stat.uiowa.edu



More information about the R-devel mailing list