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

Gundala Viswanath 写道:
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?



______________________________________________
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.

Reply via email to