pr_plot_arrows: Generates an arrow plot

View source: R/plot_functions.R

pr_plot_arrowsR Documentation

Generates an arrow plot

Description

This plots differences between two model runs visualized by red and blue arrows indicating the direction of the change.

Usage

pr_plot_arrows(data, models = NULL, lwd = 1.3, length = 0.03)

Arguments

data

a structure list generated by model_comparison()

models

models to compare, vector with two model names e.g. c("TT","PTT") (default, first two models in the data file)

lwd

line witdth of the arrows in the plot, change for readability (default = 1.3)

length

length of the arrow head, change for readability (default = 0.03)

Details

This allows you to explore the effect of model structure on the estimated phenology dates.

Examples


## Not run: 
pr_plot_arrow(data = model_comparison_data)

## End(Not run)

bluegreen-labs/phenor documentation built on Sept. 2, 2023, 10:34 a.m.