From luke-tierney at uiowa.edu  Wed May  7 16:40:19 2014
From: luke-tierney at uiowa.edu (luke-tierney at uiowa.edu)
Date: Wed, 7 May 2014 09:40:19 -0500
Subject: [Rd] precedence (was 'historical NA question')
In-Reply-To: <3dfcdc$gnkvcv@ironport9.mayo.edu>
References: <3dfcdc$gnkvcv@ironport9.mayo.edu>
Message-ID: <alpine.LFD.2.10.1405070939280.25673@nokomis.stat.uiowa.edu>

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



[Rd] precedence (was 'historical NA question')
luke-tierney at uiowa.edu