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)
}
boydorr/SpARKjags documentation built on April 30, 2022, 5:31 a.m.