[R] Accessing Value of binom.test

Gundala Viswanath gundalav at gmail.com
Thu May 29 07:05:41 CEST 2008


With this line:

> binom.test(x=12, n=50, p=12/50, conf.level = 0.90)

I get this output:

>         Exact binomial test
>
> data:  12 and 50
> number of successes = 12, number of trials = 50, p-value = 1
> alternative hypothesis: true probability of success is not equal to 0.24
> 90 percent confidence interval:
>  0.1447182 0.3596557
> sample estimates:
> probability of success
>                   0.24

How can I access ONLY the "probabality of sucess" value?

What's the construct for it?

-- 
Gundala Viswanath



More information about the R-help mailing list