R/get_model.R

Defines functions get_model

Documented in get_model

#' get_model
#'
#' @param path path
#'
#' @export
#'
get_model <- function(path) {

  assertthat::assert_that(grepl(".rds$", path))

  # Read results
  readRDS(path)
}
soniamitchell/SpARKjags documentation built on May 5, 2022, 12:09 p.m.