plot_true_labels: Plot the true membership indicators

Description Usage Arguments Author(s) See Also Examples

Description

The function plots the true membership indicators (or allocation variables) of each point to one of the mixture components, based on a generated sppmix object. These are the true probabilities of a point belonging to a component.

For examples see

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

Usage

1
plot_true_labels(pattern, open_new_window = FALSE)

Arguments

pattern

Object of class sppmix.

open_new_window

Open a new window for the plot.

Author(s)

Sakis Micheas

See Also

rnormmix, to_int_surf, owin, rsppmix

Examples

1
2
3
4
truemix <- rnormmix(m = 5, sig0 = .1, df = 5, xlim= c(-3, 3), ylim = c(-3, 3))
intsurf=to_int_surf(truemix, lambda = 100, win =spatstat::owin( c(-3, 3),c(-3, 3)))
pp1 <- rsppmix(intsurf,FALSE)
plot_true_labels(pp1)

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