View source: R/all_model_plots.R
contour_model | R Documentation |
Contourplot for bivariate angular mixture model densities
contour_model(
model = "vmsin",
kappa1,
kappa2,
kappa3,
mu1,
mu2,
pmix = rep(1/length(kappa1), length(kappa1)),
xpoints = seq(0, 2 * pi, length.out = 100),
ypoints = seq(0, 2 * pi, length.out = 100),
levels,
nlevels = 20,
xlab = "x",
ylab = "y",
col = "black",
lty = 1,
main,
...
)
model |
bivariate angular model whose mixture is of interest. Must be one of "vmsin", "vmcos" and "wnorm2". |
kappa1, kappa2, kappa3, mu1, mu2, pmix |
model parameters and mixing proportions. See the respective mixture model densities (dvmsinmix, dvmcosmix, dwnorm2mix) for more details. |
xpoints |
Points on the first (x-) coordinate where the density is to be evaluated. Default to seq(0, 2*pi, length.out=100). |
ypoints |
Points on the first (x-) coordinate where the density is to be evaluated. Default to seq(0, 2*pi, length.out=100). |
levels |
numeric vector of levels at which to draw contour lines; passed to the contour function in graphics. |
nlevels |
number of contour levels desired if levels is not supplied; passed to the contour function in graphics. |
xlab, ylab, col, lty, main |
graphical parameters passed to contour. |
... |
additional model specific argment |
contour_model('vmsin', 1, 1, 1.5, pi, pi)
contour_model('vmcos', 1, 1, 1.5, pi, pi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.