Creates a fractional polynomial model plan

bth_prior(model = "PWE", bth.model = "RE", type, distr, param)

Arguments

model

One of "PWE" or "FP"

bth.model

If model is PWE then must be "RE". If model is FP then One of "RE" or "REINT"

type

If PWE RE or FP REINT then one of "sd" or "var". If FP RE then "vcov"

distr

If type is "sd" then one of "unif" or "hn". If type is "var" then "ln". If typeis "vcov" then "invwish"

param

A list with ... if distibution is "unif" then named values min, max (numeric > 0). If distribution is hn or ln then list must contain mean and precision. Of distribution in invwish then names value "scale" (a matrix).