Dear R user,

I have a simple question for you: I have created a global function that
evoke other subsidiary functions. when I run the global function I want
to store the outcomes of the of each subsidiary function into a
variables. an examples

my.fun=function(vector, index){
    a=fun.a(vector, index)
    b=fun.b(vector, index)
    }


if i use return() I can only retrive one single results. what can I do
to store the outcome of the two function in differnt enviroment
variables?


--
Claudio

______________________________________________
R-help@stat.math.ethz.ch 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