plot_traces: Plot LnL Traces to Assess Convergence for BGC Log-likelihoods

View source: R/plot_traces.R

plot_tracesR Documentation

Plot LnL Traces to Assess Convergence for BGC Log-likelihoods

Description

Wrapper function to make BGC parameter trace plots (LnL, alpha, beta, qa, qb, hi). It assumes that the BGC runs have been aggregated. See ?combine_bgc_output. The plot should be inspected for convergence before proceeding further in the pipeline.

Usage

plot_traces(df.list, prefix, plotDIR = "./plots", showPLOTS = FALSE)

Arguments

df.list

List of data.frames containing aggregated BGC results. See ?combine_bgc_output

prefix

Prefix used for input files

plotDIR

Directory to save the plots

showPLOTS

Boolean Whether to print the plot

Examples

plot_traces(df.list = aggregated.results, prefix = "eatt",
         plotDIR = "./bgc_plots")

btmartin721/ClineHelpR documentation built on Oct. 15, 2024, 5:05 a.m.