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.

______________________________________________
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