plotbetas: Plot model beta estimates

View source: R/plotbetas.R

plotbetasR Documentation

Plot model beta estimates

Description

Create colour plots of model beta estimates. Will include quadratic and cubic beta estimates where appropriate.

Usage

plotbetas(dataset, arrow = FALSE, plotallenv, plotall = FALSE)

Arguments

dataset

A dataframe containing information on all fitted climate windows. Output from slidingwin.

arrow

TRUE or FALSE. Add arrows to plots to pinpoint best window.

plotallenv

Used in conjunction with function plotall. Should not be changed manually.

plotall

Used in conjunction with function plotall. Should not be changed manually.

Value

Returns colour plots of model beta estimates. Where applicable, 2nd order coefficients (quadratic) and 3rd order coefficients (cubic) will be plotted separately.

Author(s)

Liam D. Bailey and Martijn van de Pol

Examples

# Plot model beta estimates for linear models in the Mass dataset

data(MassOutput)

plotbetas(dataset = MassOutput)


LiamDBailey/climwin documentation built on July 8, 2022, 8:26 p.m.