R/s4hm.R

Defines functions s4hm

s4hm <-
function(dir, model.name)
{
  if(length(bm <- search.bayesx.models(dir)))
    bm <- unique(grep(paste(model.name, "_hlevel", sep = ""), bm, fixed = TRUE, value = TRUE))
  else
    stop(paste("problems reading model results from directory:", dir))

  return(bm)
}

Try the R2BayesX package in your browser

Any scripts or data that you put into this service are public.

R2BayesX documentation built on Oct. 20, 2023, 9:11 a.m.