[R] Accessing Value of binom.test

From: Gundala Viswanath <gundalav_at_gmail.com>
Date: Thu, 29 May 2008 14:05:41 +0900


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

______________________________________________
R-help_at_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.
Received on Thu 29 May 2008 - 05:09:45 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 29 May 2008 - 07:30:42 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive