[R]  Function question
    njhuang86 
    njhuang86 at yahoo.com
       
    Fri Sep 25 23:16:27 CEST 2009
    
    
  
Hi. I was wondering how I can write a function that generates the outcome
values for a user specified equation. For example, function(x^2, 4) will
return back 16 and function(x^3 - 10, 2) will give back -2...
I've been playing around with various lines of code but somehow, I just
cannot get R to recognize the equation that I pass to it is just a random
variable and doesn't need to be initialized...
-- 
View this message in context: http://www.nabble.com/Function-question-tp25619434p25619434.html
Sent from the R help mailing list archive at Nabble.com.
    
    
More information about the R-help
mailing list