View source: R/all_model_plots.R
surface_model | R Documentation |
Surface for bivariate angular mixture model densities
surface_model(
model = "vmsin",
kappa1,
kappa2,
kappa3,
mu1,
mu2,
pmix = rep(1/length(kappa1), length(kappa1)),
xpoints = seq(0, 2 * pi, length.out = 30),
ypoints = seq(0, 2 * pi, length.out = 30),
log.density = FALSE,
xlab = "x",
ylab = "y",
zlab = ifelse(log.density, "Log Density", "Density"),
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). |
log.density |
logical. Should log density be used for the plot? |
xlab, ylab, zlab, main |
graphical parameters passed to |
... |
additional arguments passed to |
surface_model('vmsin', 1, 1, 1.5, pi, pi)
surface_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.