Hi

I have  a function

y= x^2

min =10
max=20
increment=0.1

I want to find the value of y for the value of x between min and max by step
increment.

how to get the values using apply function instead of for loop

-----
Thanks in Advance
        Arun
--
View this message in context: 
http://r.789695.n4.nabble.com/Help-required-in-using-apply-instead-of-for-loop-tp4344350p4344350.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org 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