File: vis.binom.Rd

package info (click to toggle)
r-cran-teachingdemos 2.13-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,168 kB
  • sloc: makefile: 2
file content (55 lines) | stat: -rw-r--r-- 1,723 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
\name{vis.binom}
\alias{vis.binom}
\alias{vis.gamma}
\alias{vis.normal}
\alias{vis.t}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{ Plot various distributions then interactivly adjust the parameters. }
\description{
  Plot a curve of a distribution, then using a Tk slider window adjust
  the parameters and see how the distribution changes.  Optionally also
  plots reference distributions.
}
\usage{
vis.binom()
vis.gamma()
vis.normal()
vis.t()
}
%- maybe also 'usage' for other objects documented here.
\details{
  These functions plot a distribution, then create a Tk slider box that
  allows you to adjust the parameters of the distribution to see how the
  curve changes.

  Check boxes are available in some cases to also show reference
  distributions (normal and poisson for the binomial, exponential and
  chi-squared for gamma, and normal for t).  The exponential and
  chi-squared distributions are those with the same mean as the plotted
  gamma. 

  If you change the plotting
  ranges then you need to click on the 'refresh' button to update the plot.
}
\value{
  These functions are run for their side effects and do not return
  anything meaningful.
}
%\references{ ~put references to the literature/web site here ~ }
\author{ Greg Snow \email{538280@gmail.com} }
%\note{ ~~further notes~~ }

% ~Make other sections like Warning with \section{Warning }{....} ~

\seealso{ \code{\link{dnorm}}, \code{\link{dgamma}}, etc. }
\examples{
if(interactive()){
vis.binom()
vis.normal()
vis.gamma()
vis.t()
}
}
\keyword{ distribution }% at least one, from doc/KEYWORDS
\keyword{ hplot }% __ONLY ONE__ keyword per line
\keyword{ dynamic }