[R] Polylogarithm

(Ted Harding) Ted.Harding at manchester.ac.uk
Tue May 11 11:26:46 CEST 2010


On 10-May-10 20:11:39, Jue \(Andy\) Wang wrote:
> I am writing to ask if R has a build- in function to calculate this
> polylogarithm Li_n(z) function , also known as the Jonquière's function
> defined as
> 
> Li_n(z)=sum_(k=1)^infty(z^k)/(k^n)
> 
> Thanks
> Andy

There is an R package 'gsl' which is a wrapper for the GNU Scientific
Library, and the GSL includes the 'polylog' function (and many many
other special functions).

See:
  http://finzi.psych.upenn.edu/R/library/gsl/html/gsl-package.html

  http://finzi.psych.upenn.edu/R/library/gsl/html/00Index.html

  http://finzi.psych.upenn.edu/R/library/gsl/doc/gslpaper.pdf

  http://www.gnu.org/software/gsl

Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at manchester.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 11-May-10                                       Time: 10:26:35
------------------------------ XFMail ------------------------------



More information about the R-help mailing list