Contour plot of the bivariate Poisson distribution | R Documentation |
Contour plot of the bivariate Poisson distribution.
bp.contour(x1, x2 = NULL, lambda)
x1 |
Either a numerical vector with the values of the first variable or a matrix with 2 columns containing both variables. In the latter case, x2 must be NULL. |
x2 |
A numerical vector with the values of the second. If x1 is a matrix with 2 columns containing both variables, x2 must be NULL. |
lambda |
A vector with three numbers, the estimates of the |
This is actually a scatter plot with the probability values computed at each pair of points.
The contour plot of the bivariate Poisson distribution.
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
bp.mle
x <- rbp( 300, c(3, 5, 2) )
lambda <- bp.mle(x)$lambda
bp.contour(x, lambda = lambda)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.