powered by
Compute the density function of the marginal model.
dmarg(x, y, log = FALSE)
A vector of values for the density.
an object of class margin.
vector of values for which density should be computed.
logical variable specifying whether log density should be returned.
margmod <- margin("gauss", pars = c(mu = 0, sigma = 1)) dmarg(margmod, c(-2, 0, 2), log = TRUE)
Run the code above in your browser using DataLab