This function adds information about the prior distributions of the parameter in the serojump model. It takes a list of the form:

  • par_name: The name of the parameter as as string.

  • lb: The numerical lower bound of the parameter.

  • ub: The numerical upper bound of the parameter.

  • dist: The distribution describing the prior distribution from standard R disributions (e.g. unif, norm)

  • dist_par1: The first argument of the prior distribution,

  • dist_par2: The second argument of the prior distribution, (NA if only one parameter is taken like in exp)

addPrior(par_name, lb, ub, dist, dist_par1, dist_par2)

Arguments

par_name

The name of the parameter as as string.

lb

The numerical lower bound of the parameter.

ub

The numerical upper bound of the parameter.

dist

The name of the parameter as as string.

dist_par1

The first argument of the prior distribution,

dist_par2

The second argument of the prior distribution, (NA if only one parameter is taken like in exp)

Value

a data.frame of the prior information