[R] Function for Data Frame

Rolf Turner rolf.turner at xtra.co.nz
Tue Apr 30 01:54:36 CEST 2013


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



More information about the R-help mailing list