dmarg | R Documentation |
Compute the density function of the marginal model.
dmarg(x, y, log = FALSE)
x |
an object of class margin. |
y |
vector of values for which density should be computed. |
log |
logical variable specifying whether log density should be returned. |
A vector of values for the density.
margmod <- margin("gauss", pars = c(mu = 0, sigma = 1))
dmarg(margmod, c(-2, 0, 2), log = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.