Yes. If the function f takes the value zero at some discontinuity point,
then the code gives the inf of the set I described.
Otherwise, it is an approximation since we need to worry about numerical
accuracy.

2017-04-10 14:08 GMT-04:00 Bert Gunter <bgunter.4...@gmail.com>:

> Well, I haven't checked carefully, but  of course this does not find infs
> or sups at all, just mins or maxes in the sample, which are not the same.
>
> You'll have to do your own full testing  and debugging, however. I do not
> provide such a service.
>
> -- Bert
>
>
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to