plot_ind: Plot membership indicators

Description Usage Arguments Author(s) See Also Examples

View source: R/mcmc_plots.R

Description

The function plots the posterior means of the membership indicators (or allocation variables) of each point to one of the mixture components, based on a DAMCMC fit. These are the posterior probabilities of a point belonging to a component.

For examples see

http://faculty.missouri.edu/~micheasa/sppmix/sppmix_all_examples.html#plot_ind

Usage

1
plot_ind(fit, burnin = floor(fit$L/10), open_new_window = FALSE)

Arguments

fit

Object of class damcmc_res or bdmcmc_res.

burnin

Number of initial realizations to discard. By default, it is 1/10 of the total number of iterations.

open_new_window

Open a new window for the plot.

Author(s)

Sakis Micheas, Yuchen Wang

See Also

est_mix_damcmc

Examples

1
2
fit <- est_mix_damcmc(pp = spatstat::redwood, m = 10)
plot_ind(fit)

sppmix documentation built on Jan. 13, 2021, 10:04 p.m.