Generalized hypergeometric function in R

Just wrote an R function to calculate the generalized hypergeometric function \(pFq\) for real numbers. The function is evaluated based on the series expansion of Pochhammer symbol. The function also allows you to have vectorized input.

You can find the code at

The function depends on the Pochhammer function which is available at

3 thoughts on “Generalized hypergeometric function in R”

      1. hi.. i wanna say thank you so much to you cause your blog really help me to finish my work. but i have a question, in the code there are any red syntax, is it failed code or not? because if we use matlab, the red syntax it’s mean that failed. please answer, thankyou!

Leave a Reply

Your email address will not be published. Required fields are marked *