Hello
I would like to optimize a function which is as follows.
nc.adj <- function(nc, G) {
x = a + G + (b/(G^2 + (c - G)^2)) - nc
return(x)
}
Can I just know how to get the optimized values of a,b,c for given G and nc
using optim/optimize function.
--
View this message in context:
http://r.789695.n4.nabble.com/function-optimization-tp3600099p3600099.html
Sent from the R help mailing list archive at Nabble.com.