Plots cluster intensity function densities

plot_cluster_densities(
  x,
  p = 0.9,
  pi_threshold = 0.1,
  style = "facet",
  transform = TRUE
)

# S3 method for ndp
plot_cluster_densities(
  x,
  p = 0.9,
  pi_threshold = 0.1,
  style = "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

style

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

transform

boolean denoting whether or not to transform distances

Value

ggplot plot object

Methods (by class)

  • ndp: cluster density estimates