plot_P {localboot}R 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)


[Package localboot version 0.9.2 Index]