[R] Numerical Integration

Doran, Harold HDoran at air.org
Wed Nov 8 19:03:47 CET 2006


You might try the statmod package which provides nodes and weights for
gaussian quadrature. 

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Xiaofan Cao
> Sent: Wednesday, November 08, 2006 12:43 PM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Numerical Integration
> 
> Hi everyone,
> 
> I'm trying to integrate f(x) over x where f(x) does not have 
> a close form but only numerical values at certurn knots of x. 
> Is there a way that I can use any generical R function (such 
> as integrate) or any package to do so?
> 
> Thanks! I appreciate your time.
> 
> Best Regards,
> Martha Cao
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> 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.
>



More information about the R-help mailing list