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:
ht
garciap usal.es> writes:
> this is my first time, and just begin to use R. But I've a question about
> optimization using optimx library. It could sound stupid by I'm a bit
> affraid with the problem, because anything I try, anything Error.
> The procedure was:
> optimx(par="10,71,1",fn=(Prey*P
Dear all,
this is my first time, and just begin to use R. But I've a question about
optimization using optimx library. It could sound stupid by I'm a bit
affraid with the problem, because anything I try, anything Error.
The procedure was:
optimx(par="10,71,1",fn=(Prey*Provisioning)/Risk, control
3 matches
Mail list logo