convert_df_to_posterior_format: Converts a single tibble to posterior format

View source: R/convergence_checking.R

convert_df_to_posterior_formatR Documentation

Converts a single tibble to posterior format

Description

Converts a single tibble to posterior format

Usage

convert_df_to_posterior_format(
  res_df,
  parameter_cols,
  names_cols,
  names_prefix
)

Arguments

res_df

one of the three tibbles returned by running mcmc

parameter_cols

the column(s) containing the parameter draws

names_cols

another column specifying an index for parameter draws

names_prefix

the prefix for naming the columns of the output tibble

Value

a tibble in the format required by posterior package


ben18785/incidenceinflation documentation built on Feb. 8, 2024, 2:36 a.m.