Re: [R] Discontinuities in a simple graph (machine precision?)

About this list Date view Thread view Subject view Author view Attachment view

From: Simon Cullen (cullens@tcd.ie)
Date: Thu 06 May 2004 - 04:19:03 EST


Message-id: <opr7jg51bd1pelvz@smtp.tcd.ie>

Thanks to Prof. Ripley, Peter Dalgaard and Uwe Ligges for pointing out
that all I needed to do to improve the precision was replace
> inted <- integrate(integrand, a, Inf)
with
> inted <- integrate(integrand, a, Inf,rel.tol = .Machine$double.eps^0.5)

Thanks for the advice!

-- 
SC

Simon Cullen Room 3030 Dept. Of Economics Trinity College Dublin

Ph. (608)3477 Email cullens@tcd.ie

______________________________________________ R-help@stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:07 EST