Description Usage Arguments Value Author(s) See Also Examples
Plots the probabilities of a specified beta binomial distributon.
1 2 |
m |
Numeric scalar between 0 and 1. May be interpreted as the “success probability”. |
s |
Numeric scalar, greater than 0. The overdispersion parameter of the distribution. |
size |
Integer scalar specifying the upper limit of the “support”
of the beta binomial distribution under consideration. The support
is the set of integers |
... |
Extra arguments that are passed to the |
plot |
Logical scalar; should a plot be produced (or should the function simply return a data frame consisting of the relevant values)? |
tikx |
(Optional) vector of locations of the tick marks on the |
xlim |
The |
ylim |
The |
xlab |
A label for the |
ylab |
A label for the |
main |
An overall title for the plot. (See |
A data frame with numeric columns x
and p
. The
x
column consists of the integers from 0 to size
.
The p
column consists of the appropriate probabilities of
the x
values, calculated by dbetabinom()
from the
rmutil
package. The value is returned invisibly. A plot
is produced as a side-effect if plot
is TRUE
.
Rolf Turner r.turner@auckland.ac.nz
plot.mleBb()
plotDb()
plot.mleDb()
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.