normalize_optresults_logpost: Normalize the log posterior returned by the optimization

Description Usage Arguments Value

View source: R/05-posthoc-quantities.R

Description

Wrapper around normalize_log_posterior() that takes in the dataframe of optimization results and returns the same dataframe but with the theta_logposterior column normalized.

Usage

1

Arguments

optresults

Optimization results, a tibble() output by optimize_all_thetas_parallel().

Value

Data frame of optimization results with the theta_logposterior column normalized, i.e. satisfying logSumExp(theta_logposterior) = 0


awstringer1/casecrossover documentation built on March 11, 2021, 4:41 a.m.