Plots cluster intensity function densities

# S3 method for ndp
plot_cluster_densities(x, p = 0.9, pi_threshold = 0.1,
  switch = "facet", transform = FALSE)

Arguments

x

ndp object

p

the probability for the credible interval

pi_threshold

intensities with probability of assignment greater than pi_threshold are plotted default is zero

switch

one of two character values "facet" or "color" denoting whether to separate clusters by facet or by color

transform

boolean value denoting whether or not to transform the distances: FALSE indicates values are shown on the [0,R) domain, while TRUE indicates they are shown on the real line.

Value

ggplot plot object