get_prior_string: Looks at the prior type p_type and phase, and if uniform will...

View source: R/utils-get-prior-string.R

get_prior_stringR Documentation

Looks at the prior type p_type and phase, and if uniform will return "Uniform" If not uniform, it will parse the vals and build a string defining the prior info. If Fixed, it will return the initial value If Lognormal, it will parse the vals and build a string defining the prior info, with the exp function applied

Description

Looks at the prior type p_type and phase, and if uniform will return "Uniform" If not uniform, it will parse the vals and build a string defining the prior info. If Fixed, it will return the initial value If Lognormal, it will parse the vals and build a string defining the prior info, with the exp function applied

Usage

get_prior_string(row, digits = 2)

Arguments

digits

The number of decimal points to return

vals

The parameter initial values and settings from the control file

Value

A string with the prior type and initial values in parentheses


pacific-hake/hake-assessment documentation built on Nov. 8, 2024, 1:16 p.m.