calc_logs: Calculate logs for several parameters using MCMC

View source: R/calc-logs.R

calc_logsR Documentation

Calculate logs for several parameters using MCMC

Description

Calculate logs for several parameters using MCMC

Usage

calc_logs(
  mc,
  log.params = c("^ro$", "^m$", "^m_sex1$", "^m_sex2$", "^rbar$", "^rinit$",
    "^q_gear[1-9]+$")
)

Arguments

mc

A data frame of posteriors as seen in the MCMC output csv files

log.params

A vector of regular expressions to determine which parameters to apply the log function to

Details

The column names will be prepended with log_ for the parameters which had the log function applied

Value

a data frame (mc with the log columns appended)


pbs-assess/gfiscamutils documentation built on Oct. 24, 2024, 1:37 p.m.