R/writeSIRS.R

Defines functions write.SIRS

Documented in write.SIRS

#' @title Write Level 0 SIRS Extract
#' @description Write a csv file in the manner needed for importing into Level 0
#' @param x the object to be written, preferably a matrix or data frame. If not, it is attempted to coerce \code{x} to a data frame.
#' @param filename a character string naming a file.
#' @return nothing is returned
write.SIRS = function(x, filename){
  write.table(x = x,
              file = filename,
              row.names = F,
              col.names = F,
              sep = ",",
              dec = ".")
} # /function
debarros/dBtools documentation built on Sept. 21, 2020, 3:32 p.m.