Description Usage Arguments Value Examples
When a normmix
object is given, this function estimates density
values within the domain. When a intensity_surface
is given, it
multiplies the estimated density values with intensity and returns the
estimated intensity.
1 2 | dnormmix(mix, xlim = as.numeric(c(0, 1)), ylim = as.numeric(c(0, 1)),
L = 128L, truncate = TRUE)
|
mix |
An object of class |
xlim, ylim |
The range within which the density or intensity is calculated. |
L |
Length of grid on each axis. The density is calculated on a L * L grid. |
truncate |
Whether to truncate the density to be within the domain. |
An matrix with the first two columns the grid coordinates and the third column the density (intensity) value.
1 2 | est_density <- dnormmix(demo_mix)
est_density <- dnormmix(demo_intsurf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.