plot_event_summary: Plots mcmc output as several panels

View source: R/plot_expansions.R

plot_event_summaryR Documentation

Plots mcmc output as several panels

Description

Plots mcmc output as several panels

Usage

plot_event_summary(
  mcmc.df,
  event.df,
  which_br,
  pre,
  prior_N = NULL,
  prior_t_mid_given_N = NULL,
  prior_K_given_N = NULL,
  prior_t_given_N = NULL
)

Arguments

mcmc.df

mcmc.df returned by mcmc2data.frame

event.df

event.df returned by mcmc2data.frame

which_br

Which branch to generate marginals for

pre

Preprocessed phylogeny

prior_N

(Optional) Background population size prior, mutually exclusive with passing list of priors. If either is supplied priors will be overlayed in plotting.

prior_t_mid_given_N

(Optional) Time to midpoint prior, mutually exclusive with passing list of priors. If either is supplied priors will be overlayed in plotting.

prior_K_given_N

(Optional) Expansion time prior, mutually exclusive with passing list of priors. If either is supplied priors will be overlayed in plotting.

Value

a list of 3 plot panels


dhelekal/CaveDive documentation built on June 11, 2024, 4:32 p.m.