Skip to contents

Generates a plot of population counts over time from a bipod object. The plot can be customized to display counts on a logarithmic scale and to highlight different groups if specified.

Usage

plot_input(x, log_scale = F, add_highlights = F)

Arguments

x

A bipod object.

log_scale

A logical value indicating whether to apply a logarithmic scale to the y-axis. If TRUE, the y-axis will be transformed to a log scale; otherwise, it will use a linear scale. (default is FALSE)

add_highlights

A logical value indicating whether to highlight different groups in the plot. If TRUE, additional visual elements will be added to the plot to distinguish groups. (defaults if FALSE)

Value

A ggplot2 object representing the evolution of the population counts over time.