make_fixed_pars_list: Creates a list of fixed parameters

make_fixed_pars_listR Documentation

Creates a list of fixed parameters

Description

Outputs a list of all the model parameters with 'fix_' prefix, specifying which parameters are Fixed. By default, -1 indicates non-fixed, while all other values specify the fixed value. Parameter names taken from 'paramater_list' (mu_list or range_list can be used). Fixed vals taken from 'fixed list'.

Usage

make_fixed_pars_list(parameter_list, fix_list, non_fixed_number_code = -1)

Arguments

parameter_list

a list containing all parameter names (often range_list or mu_list can be used)

fix_list

a list contatining only fixed parameter names and values, e.g. parX = 4

non_fixed_number_code

-1 by default (needs to be numeric for STAN)


SpTB/wztools documentation built on July 2, 2023, 11:50 a.m.