plot_pstar: Plot pstar - Visualization of pstar Estimation

View source: R/get-pstar.R

plot_pstarR Documentation

Plot pstar - Visualization of pstar Estimation

Description

Generates a visualization of pstar estimation, including a line plot of predicted values, shaded ribbons representing confidence intervals, and a vertical line indicating the estimated pstar value.

Usage

plot_pstar(pstar_object)

Arguments

pstar_object

A list containing the following components:

  • pred_df: A data frame with predicted values and confidence intervals.

  • pstar_df: A data frame with the estimated pstar value.

  • species: A character vector containing the species name.

Value

A ggplot2 object displaying the pstar visualization.


pbs-assess/gfsynopsis documentation built on March 26, 2024, 7:30 p.m.