[R] How to return more than one variable from function

vinod gullu vinodkgul at yahoo.com
Fri Apr 20 13:30:45 CEST 2007


Dera R users,
I have written a function which computes variance, sd,
r^2, R^2adj etc. But i am not able to return all of
them in return statement.
 So how to return more than one variable from
function.  In C i used to return by pointers etc. is
there any way like that.

Thanks in advance.



More information about the R-help mailing list