> On 10 Sep 2016, at 08:27 , Jeff Newmiller <jdnew...@dcn.davis.ca.us> wrote:
> 
> 
> The with function is just helpful syntactic sugar for reducing repetitious 
> typing of the name of the list/data frame that contains several objects you 
> want to refer to in a single expression.

A little more than that, witness the difference between these two:

> plot(airquality$Ozone)
> with(airquality, plot(Ozone))


-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd....@cbs.dk  Priv: pda...@gmail.com

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to