model_comp.bayesnmr function

get compute the model comparison measures

get compute the model comparison measures

## S3 method for class 'bayesnmr' model_comp(object, type = "lpml", verbose = FALSE, ncores = NULL)

Arguments

  • object: the output model from fitting a meta analysis/regression model
  • type: the type of model comparison measures; DIC or LPML
  • verbose: FALSE by default; If TRUE, then progress bar will appear
  • ncores: the number of CPU cores to use for parallel processing. It must not exceed the number of existing cores. If unspecified, it will default to 2 cores or the number of existing cores, whichever is smaller.

Returns

dataframe containing the compute the model comparison measures

  • Maintainer: Daeyoung Lim
  • License: GPL (>= 3)
  • Last published: 2024-01-24