draw_from_radius: draw_from_radius description Stan starts initial values by...

View source: R/param_transformations.R

draw_from_radiusR Documentation

draw_from_radius description Stan starts initial values by drawing random values within a radius (+/-2) around zero this script will have a fun, that will draw a range of parameters from this, that you can feed into your model to run deterministically to identify problem parameters when you

Description

draw_from_radius description Stan starts initial values by drawing random values within a radius (+/-2) around zero this script will have a fun, that will draw a range of parameters from this, that you can feed into your model to run deterministically to identify problem parameters when you

Usage

draw_from_radius(
  n = 10,
  lower_bound = -Inf,
  upper_bound = Inf,
  minus_init_radius = -2,
  plus_init_radius = 2
)

Arguments

n

number of starting values

lower_bound

Lower bound of parameter

upper_bound

Upper bound of parameter

minus_init_radius

lower bound of radius to draw unconstrained starting values

plus_init_radius

upper bound of radius to draw unconstrained starting values

Value

start_values for model


Craig44/stockassessmenthelper documentation built on April 14, 2023, 10:57 a.m.