Displaying 1 result from an estimated 1 matches for "tp1561972p1561972".
2010 Feb 19
6
retrieve from function
...rieve value of y1, when I need it.
I don't want:
> x=function(nbr){y<-rnorm(nbr);y1 <<- mean(y);plot(y)}
> y1
I want someting like:
"x$y1" and then I get the value
Many thanks, robert
--
View this message in context: http://n4.nabble.com/retrieve-from-function-tp1561972p1561972.html
Sent from the R help mailing list archive at Nabble.com.