IQRoutputCSV: Exporting a data.frame as CSV file

View source: R/allCode.R

IQRoutputCSVR Documentation

Exporting a data.frame as CSV file

Description

The compliance log file will only be generated if .COMPLIANCE_MODE is set to TRUE. The name of the generated compliance log file is the same name as the text file name but with appended ".log". The extension for the exported text file will be kept unchanged in the exported log file name. In order for the log file generation to work the global variable "COMPLIANCE_MODE_SCRIPT_NAME" needs to be defined by the user and in each R script set to the name of the script.

Usage

IQRoutputCSV(
  data,
  filename,
  na = ".",
  quote = FALSE,
  row.names = FALSE,
  FLAGattributes = TRUE,
  replaceComma = NULL
)

Arguments

data

The data.frame or matrix to export

filename

Character string with the filename (can include path) for export. Should include extension to the filename.

na

Character to represent NA values

quote

TRUE: use "" quotes, FALSE: do not (for NONMEM and MONOLIX)

row.names

TRUE: exposrt row names FALSE: do not (typical use in IQnca)

FLAGattributes

FALSE: do not export custom attributes as .atr file. TRUE: do (default)

replaceComma

NULL: do not replace comma. Character: replace by user-provided character

Author(s)

Henning Schmidt, Daniel Kaschek, Daniel Lill, IntiQuan

See Also

Other Output & Compliance: IQRinitCompliance(), IQRoutputFigure(), IQRoutputFile(), IQRoutputPDFend(), IQRoutputPDFstart(), IQRoutputPDF(), IQRoutputPNG(), IQRoutputRDS(), IQRoutputTable(), IQRoutputValueTable(), IQRoutputXPT()

Other General Data I/O: IQRloadCSVdata(), IQRloadSASdata(), IQRoutputXPT(), IQRsaveCSVdata()


Quantmetrics770/IQnca documentation built on Aug. 5, 2022, 5:39 p.m.