R/is_mbd_params.R

Defines functions is_mbd_params

Documented in is_mbd_params

#' Is object \code{x} an MBD parameter set,
#'   as can be created by \code{create_mbd_params}?
#' @param x the object to be determined of if
#'   its an MBD parameter set
#' @return TRUE if yes, else FALSE
#' @author Richel J.C. Bilderbeek
is_mbd_params <- function(x) {
  all(becosys::get_mbd_param_names() %in% names(x))
}
richelbilderbeek/becosys documentation built on Oct. 19, 2020, 9:20 a.m.