normal_prior: A basic normal prior density function.

Description Usage Arguments Author(s)

View source: R/ruvb.R

Description

A basic normal prior density function.

Usage

1
normal_prior(beta_mat, prior_mean = 0, prior_variance = 100, return_log = TRUE)

Arguments

beta_mat

A matrix. The rows are the coefficients of the difference covariates. The columns are the different genes.

prior_mean

A numeric. The prior mean.

prior_variance

A positive numeric. The prior variance.

return_log

A logical. Should we return the log-density ("TRUE") or the the density ("FALSE")?

Author(s)

David Gerard


dcgerard/vicar documentation built on July 7, 2021, 1:08 p.m.