R/fct_shapes_list.R

Defines functions shapes_list

#' shapes_list
#'
#' @description A fct function
#'
#' @return The return value, if any, from executing the function.
#'
#' @noRd
shapes_list <- function(){
  shape_list <- read.table(file = system.file("tables","shape_list.csv",
                                              package = "shinySbm"),
                           sep = ",", header = T)
  shape_list <- as.list(shape_list$shape_name) %>%
    setNames(shape_list$shape)
  return(shape_list)
}

Try the shinySbm package in your browser

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

shinySbm documentation built on Sept. 8, 2023, 5:06 p.m.