Bert Gunter <bgunter.4567 <at> gmail.com> writes: > > Use ?uniroot to do it numerically instead of polyroot()? > > Cheers, > Bert > Bert Gunter
The problem with uniroot() is that we don't know how many intersections/ roots we might be looking for. With polyroot(), we know that there can be at most 3 roots that lie within a particular cubic segment. (I'm not arguing that doing this is necessarily a good idea in the larger context.) ______________________________________________ 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.