R/getParaSet.R

Defines functions getParaSet

Documented in getParaSet

#' @title getParaSet
#'
#' @description Load a specific parameter set by region.
#'
#' @param region integer, the region id
#'
#' @return data.frame parameters of that specific region
#'
#' @examples
#' getParaSet(5315)
#' @export
getParaSet <- function(region) {
  return(babsim.hospital::paras[babsim.hospital::paras$region == region, -ncol(babsim.hospital::paras)])
}

Try the babsim.hospital package in your browser

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

babsim.hospital documentation built on May 30, 2022, 9:05 a.m.