tuki <- function(u, x, a, lambda){
u <- u+0i
f <- Re(x-(a*(u)^lambda-(1-(u))^lambda)/lambda)
f
}
## What I want to do is to find the root, but without specifying the
## interval within which to search for it. I can do it easily in MATLAB
## with fsolve() or fzero() functions.
## BB: how d
Hello,
I have a problem finding a root of a function, which I define like this:
tuki <- function(u, x, a, lambda){
if((lambda%%1>0) & u<0) {u<-(u+0i)}
f <- Re(x-(a*(u)^lambda-(1-(u))^lambda)/lambda)
f
}
What I want to do is to find the root, but without specifying the
interval within which to se
2 matches
Mail list logo