[R] assign variables to function output

merm pionescu at student.unimelb.edu.au
Thu Apr 16 00:17:30 CEST 2015


Hi!

So I'm trying as the header suggests to assign the value(s) output by a
function to a variable, say 'y'

Problem is from what I gather any variables introduced within the function
are contained and the only output I can get is "return(value)" which is
awkward to work with. Any suggestions?

Cheers!



--
View this message in context: http://r.789695.n4.nabble.com/assign-variables-to-function-output-tp4705920.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list