[R] F cumulative distribution function

(Ted Harding) ted.harding at wlandres.net
Tue Oct 12 16:22:21 CEST 2010


On 12-Oct-10 13:49:07, Hsih-Te Yang wrote:
> Dear Sir or Madam:
> 
> Dose anyone know the R function which corresponds to "fcdf",
> a "F cumulative distribution function" of Matlab?
> http://esra.univ-paris1.fr/matlab5/toolbox/stats/fcdf.html
> 
> Please guide me how to get this function if it is available.
> ..... or code it ab initio if no function in R language
> 
> Thanks for kind reply further.
> Hsih-Te

The equibalent in R of P = fcdf(X,V1,V2) (as in your URL) is

  P <- pf(X,V1,V2)

where X,V2,V2 should be vectors of the same length.

Note that R's pf offers additional functionality, such as a
non-centrality paramater for the no-centgral F distribution.

Enter '?pf' for more detailed information.

Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <ted.harding at wlandres.net>
Fax-to-email: +44 (0)870 094 0861
Date: 12-Oct-10                                       Time: 15:22:18
------------------------------ XFMail ------------------------------



More information about the R-help mailing list