Description Usage Arguments Value Author(s) See Also Examples
The function first calculates the posterior means of the parameters of the components of the mixture intensity, based on a DAMCMC or BDMCMC fit. Then the surface of posterior means is calculated using the posterior means of the parameters. For a BDMCMC fit, the number of components should be specified, and all realizations with that number of components are gathered to calculate the posterior intensity surface.
For examples see
http://faculty.missouri.edu/~micheasa/sppmix/sppmix_all_examples.html#GetPMEst
1 |
fit |
Object of class |
num_comp |
Number of components requested. The posterior will be calculated only
based on the posterior realizations that have this many mixture components. If missing the realizations
corresponding to the MAP number of components are returned. This parameter
is ignored if |
burnin |
Number of initial realizations to discard. By default, it is 1/10 of the total number of iterations. |
An object of class intensity_surface
.
Jiaxun Chen, Sakis Micheas, Yuchen Wang
1 2 3 4 5 6 7 8 | fit <- est_mix_damcmc(pp = spatstat::redwood, m = 3)
post_intsurf <- GetPMEst(fit, burnin = 1000)
plot(post_intsurf)
fit <- est_mix_bdmcmc(pp = spatstat::redwood, m = 5)
post_intsurf <- GetPMEst(fit, num_comp = 4, burnin = 1000)
plot(post_intsurf)
post_fixed = FixLS_da(fit,approx=FALSE, plot_result = TRUE)
plot(GetPMEst(post_fixed))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.