compare_posteriors: Function to compare posters

View source: R/plot_sir.R

compare_posteriorsR Documentation

Function to compare posters

Description

Function to compare posters

Usage

compare_posteriors(SIR, model_names = NULL, file_name = NULL,
  bayes_factor = NULL, reference_sir = TRUE, model_average = TRUE,
  years = NULL)

Arguments

SIR

list of SIR objects

model_names

names of sir objects

file_name

name of a file to identified the files exported by the function. If NULL, does not save.

bayes_factor

Optional. Vector of bayesfactors of length SIR

reference_sir

Default = TRUE, reference SIR is in SIR, should be first if so.

model_average

Default = TRUE, model average SIR is in SIR, should be last if so.

years

Optional vector of years to compare.


antarctic-humpback-2019-assessment/HumpbackSIR documentation built on Nov. 6, 2023, 6:07 p.m.