Skip to content
Back to formatted view

Raw Message

Message-ID: <CADih64SnyFyHV5dWUPV-Ef_skFH+ys+Lbx9C8TdEs7FjfXWuOA@mail.gmail.com>
Date: 2013-05-09T14:48:24Z
From: Neuman Co
Subject: Can you help me sir,
In-Reply-To: <1753e482cd18bc827cc273435475a9@tweb15.nm.nhnsystem.com>

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