Description Usage Arguments Examples
This functions fits a mixture model to spatial point pattern data using DAMCMC or BDMCMC.
1 2 |
pattern |
Point pattern object of class |
m |
Either number of components to fit in data augmentation MCMC or maximum number of component in Birth Death MCMC. |
method |
Character specifying which method to use for fitting mixture. Currently only "DAMCMC" is supported. |
truncate |
logical, indicating whether truncation is used, where the component density are restricted within the domain of the point pattern. |
chains |
A positive integer specifying number of chains; defaults to 4. |
iter |
Number of iterations for each chain (including burnin), default to 5000. |
burnin |
Number of burn-in iterations, default to 1/5 of chain length. |
thin |
Positive integer for thinning parameter, default to 1. |
... |
Further parameters to be passed to specific methods. |
1 2 3 4 5 | fit <- est_mix_damcmc(redwood, m = 3)
fit
# see vignett "Work with 2D Normal Mixtures" for more details.
vignette("mcmc", package = "sppmix")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.