plot_P: Plot Probability Matrix

View source: R/plot_utils.R

plot_PR Documentation

Plot Probability Matrix

Description

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.

Usage

plot_P(P)

Arguments

P

A probability matrix to be plotted.

Value

Generates a filled contour plot.

Examples

P_matrix <- matrix(runif(100), 10, 10)
plot_P(P_matrix)


localboot documentation built on May 29, 2024, 2:32 a.m.