R/get_network_list.R

Defines functions get_network_list

Documented in get_network_list

#' Get the list of available Bayesian network files
#'
#' This function lists all the .rda files in the data directory.
#'
#' @return A character vector of network file names.
#'
#'@export
get_network_list <- function() {
  network_files <- bnRep_summary$Name
  return(network_files)
}

Try the bnRep package in your browser

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

bnRep documentation built on April 12, 2025, 1:13 a.m.