logpriors: Calculate log priors

View source: R/RcppExports.R

logpriorsR Documentation

Calculate log priors

Description

Calculate log priors

Usage

logpriors(
  params,
  covar = FALSE,
  alpha_mean = -10,
  alpha_sd = 0.5,
  beta_shape = 2,
  beta_scale = 2,
  gamma_shape = 2,
  gamma_scale = 2
)

Arguments

params

Vector of parameters: \alpha, \beta and \gamma

covar

logical: Should the covariate inflormation be used? default: False

alpha_mean

prior for the mean of alpha

alpha_sd

prior for the standard deviation of alpha

beta_shape

prior for the shape (gamma distibution) of beta

beta_scale

prior for the scale of beta

gamma_shape

prior for the shape (gamma distibution) of gamma

gamma_scale

prior for the scale of gamma

Value

log priors


ichcha-m/cophescan documentation built on June 16, 2024, 1:39 a.m.