On 30/04/13 08:34, MacQueen, Don wrote:
Just to add a little, don't get distracted by the return() function.
Functions return the value of their final expression, provided it isn't an
assignment.

Note that functions still return the value of their final expression even
if it is an assignment.  The difference is that if it is an assignment, the
value is returned *invisibly*.

    cheers,

        Rolf

______________________________________________
R-help@r-project.org mailing list
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