plot_P function

Plot Probability Matrix

Plot Probability Matrix

This function creates a filled contour plot of a probability matrix using the viridis color palette. The plot is created using the ggplot2 and viridis libraries.

plot_P(P)

Arguments

  • P: A probability matrix to be plotted.

Returns

Generates a filled contour plot.

Examples

P_matrix <- matrix(runif(100), 10, 10) plot_P(P_matrix)
  • Maintainer: Tianhai Zu
  • License: GPL-3
  • Last published: 2024-01-10

Useful links