Displaying 1 result from an estimated 1 matches for "mynumberi".
Did you mean:
mynumber
2012 Apr 26
8
understanding the FUNCTION function
Hello,
I am trying to understand why the FUNCTION used in several codes, won't
create the object after it finishes running the code.
For instance, look at the following:
Number<- function(x) {MyNumberIs<-x}
When I run
Number(5)
Everything goes well, except that if I try to call the object MyNumberIs, I
won't find it.
I understand that this function can assume many parameters, but why won't it
create the object?
Besides, if I try "assing", it won't work either, no mat...