Reads uniform prior distributions (specified with a min and max) from a csv

get_priors(
  path_to_csv = system.file("input_priors/priors.csv", package = "dvsb")
)

Arguments

path_to_csv

path to a csv file with columns parameter, min and max, and one row for each of the (top-level, fixed-effect) parameters in our statistical model. One such file lives in the dvsb package code: we attempt to find this automatically if this argument is left at its default value. But you may wish to modify this file, make different copies for different analyses that live in different places, etc. In that case you can provide the path to another such file here. You can also find the file at the GitHub repository for this code (BDI-pathogens/dvsb) in the subdirectory input_priors.

Value

a list with elements rho_prior_eta (a single number controlling the prior for the eta parameter), df_priors_scalars and df_priors_vectors (dataframes containing the priors for scalar and vector quantities respectively).