[R] plotting a function

Jin realstone at hotmail.com
Wed Mar 31 22:05:15 CEST 2010


Hello Dear,

I am trying to plot a function to see a minimum point (actually, using
"optim"). For example,

1. y=f(x)
2. x has a range
3. plot(x,y) to see a point x minimizing y

I tried "plot(x,y)", but it made an error. Am I doing a right way?

Thanks,

Jin
-- 
View this message in context: http://n4.nabble.com/plotting-a-function-tp1747312p1747312.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list