jbplot_hcxval: jbplot_hcxval

jbplot_hcxvalR Documentation

jbplot_hcxval

Description

Plots and summarizes results from one step head hindcast cross-validation using the output form jabba_hindcast

Usage

jbplot_hcxval(
  hc,
  index = NULL,
  naive.min = 0.1,
  mase.adj = FALSE,
  output.dir = getwd(),
  as.png = FALSE,
  single.plots = add,
  add = FALSE,
  width = NULL,
  height = NULL,
  minyr = NULL,
  cols = NULL,
  legend.loc = "topright",
  legend.cex = 0.7,
  legend.add = TRUE,
  label.add = TRUE,
  label.cex = 0.9,
  verbose = TRUE,
  ymax = 1
)

Arguments

hc

output object from jabba_hindcast

index

option to plot specific indices (numeric & in order)

naive.min

minimum MASE denominator (naive predictions) for dj (default = 0.1)

mase.adj

if TRUE, show adjusted mase in brackets

output.dir

directory to save plots

as.png

save as png file of TRUE

single.plots

if TRUE plot invidual fits else make multiplot

add

if TRUE plots par is only called for first plot

width

plot width

height

plot hight

minyr

minimum year shown in plot

cols

option to add colour palette

legend.loc

location of legend

legend.cex

size of legend

legend.add

show legend

label.add

show index name and MASE

label.cex

label siz

verbose

if FALSE then silent

ymax

upper ylim scaler

Value

hcxval statistics by index: MASE, MAE.PR predition residuals,MAE.base for random walk, n.eval obs evaluated


jabbamodel/JABBA documentation built on Nov. 2, 2024, 12:50 p.m.