[R] Counting NA?

John Fox jfox at mcmaster.ca
Wed Oct 23 13:31:00 CEST 2002


Dear Matej,

At 02:48 AM 10/23/2002 -0400, Matej Cepl wrote:

>How can I get values usually taken from tables like z-score,
>values of t distribution etc.? I could not find them among
>values mentioned in info file.

R has random-number generators and cumulative-probability, density, and 
quantile functions for all of the standard statistical distributions. The 
names are very regular -- for example, rt, pt, dt, and qt for the 
t-distribution, and rnorm, pnorm, dnorm, and qnorm for the normal. Try, for 
example, help(rt) for the details. Even better, look at section 8 (on 
probability distributions) of  An Introduction to R, one of the manuals 
available on CRAN.

I hope that this helps,
  John
-----------------------------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
email: jfox at mcmaster.ca
phone: 905-525-9140x23604
web: www.socsci.mcmaster.ca/jfox
-----------------------------------------------------

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list