valuesToCsv: Values to CSV

View source: R/utils.R

valuesToCsvR Documentation

Values to CSV

Description

Values to CSV

Usage

valuesToCsv(
  x,
  dec = ".",
  sep = ",",
  na = "",
  qchar = "\"",
  qmethod = c("double", "escape")[1]
)

Arguments

x

vector of values representing a row in a CSV file

dec

decimal character

sep

field separating character

na

text to be used in case of NA values

qchar

quoting character to be used to surround text fields containing the field separator

qmethod

method used to indicate that a quoting character within a quoted text field is not the ending quote. Either "double" (double the quote character) or "escape" (backslash in front of the quoting character).


KWB-R/kwb.en13508.2 documentation built on April 3, 2024, 9:47 a.m.