Re: [R] bracketing for optimize

2018-05-31 Thread Enrico Schumann
On Thu, 31 May 2018, ivo welch writes: > dear R wizards: `optimize()` requires the user to provide the > brackets. I can write a bracketing routine, given a function and a > starting point, but I was wondering whether there was already a > "standard" user-exposed implementation. (Presumably, th

[R] bracketing for optimize

2018-05-31 Thread ivo welch
dear R wizards: `optimize()` requires the user to provide the brackets. I can write a bracketing routine, given a function and a starting point, but I was wondering whether there was already a "standard" user-exposed implementation. (Presumably, this is used in nlm, too; alas, nlm is in C, not n