Displaying 1 result from an estimated 1 matches for "questionablefunction".
2007 Sep 21
1
problem with 'integrate'
...eturn an error
(I can work around the situation where integrate returns garbage, but
if it generates an error, it terminates my chain and all appears lost).
This may not be necessary, but here is a simplification of an
instance that generates the error. If you send any B > 500 to
"questionableFunction", the integration fails and returns an error
message - even with stop.on.error = FALSE. Is there any way I can
work around this? Perhaps there is something similar to
"suppressWarnings()" that I might be able to use?
questionableFunction <- function(B = 10)
{
fx4 <- f...