Search String: Display: Description: Sort:

Results:

References: [ +subject:/^(?:^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*)*Problems\s+with\s+\"uniroot\"\s*$/: 3 ]

Total 3 documents matching your query.

1. Problems with "uniroot" (score: 1)
Author: gerald.jean@dgag.ca
Date: Wed, 27 Jul 2005 10:37:23 -0400
I am struggling to find the root of a non-linear monotone function. "uniroot" is complaining about a missing argument? + f.lower = -0.2724897, f.upper = 7.515328, + mu = 7462.83, shape = 0.4475635,
/archives/html/s-news/2005-07/msg00143.html (8,369 bytes)

2. Re: Problems with "uniroot" (score: 1)
Author: "Dimitris Rizopoulos" <dimitrios.rizopoulos@student.kuleuven.ac.be>
Date: Wed, 27 Jul 2005 16:45:54 +0200
try it this way: SeuilGamma <- function(x, mu, shape, rate, kk) mu * (pgamma(x, shape + 1, rate) - kk) + x * (1 - pgamma(x, shape, rate)) uniroot(f = SeuilGamma, lower = 440, upper = 450, mu = 7462.8
/archives/html/s-news/2005-07/msg00144.html (11,113 bytes)

3. Re: Problems with "uniroot" (score: 1)
Author: "Christos Hatzis" <christos@nuverabio.com>
Date: Wed, 27 Jul 2005 10:49:05 -0400
You need to add keep.xy=T to your function call because your function has extra arguments in addition to x (see help page on uniroot): uniroot(f = SeuilGamma, lower = 440, upper = 450, + f.lower = -0
/archives/html/s-news/2005-07/msg00145.html (10,231 bytes)


This search system is powered by Namazu