R/writeData.R

Defines functions writeData

writeData <- function(data, opt) {
  for (i in 1:length(data)) {
    write.table(data[[i]]@psi.df,
      file = paste(opt@makeps, "_dataset_",
        i, ".txt",
        sep = ""
      ),
      quote = FALSE,
      row.names = data[[i]]@x, col.names = data[[i]]@x2
    )
  }
}

Try the TIMP package in your browser

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

TIMP documentation built on Dec. 28, 2022, 3:06 a.m.