Re: [R] hypergeometric integral

2014-06-17 Thread JLucke
r=0,upper=.51,H=0.7) Error in integrate(Gauss2F1, lower = 0, upper = 0.51, H = 0.7) : non-finite function value > jlu...@ria.buffalo.edu Sent by: r-help-boun...@r-project.org 06/17/2014 10:24 AM To Xuse Chuse , cc r-help , r-help-boun...@r-project.org Subject Re: [R] hypergeomet

Re: [R] hypergeometric integral

2014-06-17 Thread JLucke
1.028055 1.019653 1.013143 1.007920 1.003618 [11] 1.00 #whereupon you find your second problem. #Joe Xuse Chuse Sent by: r-help-boun...@r-project.org 06/17/2014 08:32 AM To r-help , cc Subject [R] hypergeometric integral Dear all, I am trying to make a numerical integral of a Hyp

[R] hypergeometric integral

2014-06-17 Thread Xuse Chuse
Dear all, I am trying to make a numerical integral of a Hypergeometrical function 2F1 but it is not working. I dont know how to pass the arguments to my function. Thank you beforehand. Chuse. Here is my code: H <- 0.7; t <- 1; s <- seq(0,t,0.1); x <- 1-t/s; library(gsl) Gauss2F1 <- function(H,