Re: [R] The corresponding Fortran77 codes for R function pt()

From: Thomas Lumley <>
Date: Tue 15 Mar 2005 - 05:25:18 EST

On Mon, 14 Mar 2005, tianyue wrote:

> Hi,
> I'm trying to find the corresponding Fortran77 subroutines for R function
> pt(). I tried some Fortran77 subroutines to compute the t distribution
> function. But none of them are as good as R function pt(). Does anyone can
> give me some information about it?

There is no Fortran subroutine (although some of the C functions are translations of Fortran). The C code is in any R source distribution, in src/nmath/pt.c. It also calls src/nmath/pbeta.c. The comments in the code say where the algorithms came from.

         -thomas mailing list PLEASE do read the posting guide! Received on Tue Mar 15 05:39:34 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:47 EST