[R] Can you help me sir,

Neuman Co neumancohu at gmail.com
Thu May 9 16:48:24 CEST 2013


Well, in general, you can use the following functions:
http://stat.ethz.ch/R-manual/R-patched/library/stats/html/Binomial.html

See the examples at section "Examples".
You may want to try the following:
n<-10
k <- seq(0, n, by = 1)
plot (k,dbinom(k,n,0.5,log =FALSE),type="l")
plot(k,pbinom(k,n,0.5,log=FALSE),type="l")

Was this your question?

2013/5/9 심정인 <wjddls2464 at naver.com>:
> Hi
> My name is Jeong In Sim, and I'm korean.
> I'm learning 'R' on my own, so I have a question.
>
> I want to make probability density function and cumulative density function when X~Bin(10,0.5)
> How can I draw graph? Which function do I have to use?
>
> I want your help as soon as possible. Thank you
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.



-- 
Neumann, Conrad



More information about the R-help mailing list