Add a parameter to a spim_pars_mcmc object

spim_add_par(
  pars,
  name,
  initial,
  min,
  max,
  proposal_variance,
  prior,
  integer = FALSE,
  include = TRUE
)

spim_add_par_beta(pars)

Arguments

pars

Original spim_pars_pmcmc object

name

Name of the new parameter

initial

Initial value for the new parameter

min

Minimum value

max

Maximum value

proposal_variance

Variance for the proposal VCV

prior

List of values for the prior (must include "type", then other values for the prior data.frame)

integer

Logical, indicates if integer

include

Logical, indicates if fitted