This function writes each data frame in a list to a separate CSV file on disk, using the names of each data frame to create unique filenames.

write_simlr_data_frames(data_list, file_prefix)

Arguments

data_list

A list of data frames to write to disk.

file_prefix

A character string to use as the prefix for the filenames.

Value

No return value, called for side effects.

Examples

mysim <- list(simlrX = list(v = list(
  data1 = data.frame(matrix(rnorm(147 * 171), nrow = 147, ncol = 171)),
  data2 = data.frame(matrix(rnorm(156 * 171), nrow = 156, ncol = 171))
)))
write_simlr_data_frames(mysim$simlrX$v, "output")