R/ReadSims.R

Defines functions ReadSims

Documented in ReadSims

#' Function to read the simulations
#' 
#' @param d Directory path for the simulations
#' @export

ReadSims <- function(d) {
  f <- list.files(d, full.names = T)
  D <- lapply(f, function(x) {
    read.csv(x)
  }) %>%
    do.call(rbind, .)
  return(D)
}
jpablo91/Pabloverse documentation built on April 11, 2024, 2:54 p.m.