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.hard...@wlandres.net> Fax-to-email: +44 (0)870 094 0861 Date: 12-Oct-10 Time: 15:22:18 ------------------------------ XFMail ------------------------------ ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.