Simple auxiliary to save a CSV dataset with attributes
IQRsaveCSVdata.Rd
If non-standard attributes are present in the data.frame object, these are stored as a .atr file in addition to the .csv file. Loading with IQRloadCSVdata will restore the full object with attributes NA is stored as ".". Compliance mode not supported with this function.
IQRsaveCSVdata(
data,
filename,
na = ".",
quote = FALSE,
row.names = FALSE,
FLAGattributes = TRUE,
replaceComma = NULL
)
Arguments
- data
A data.frame with the contents of the CSV file
- filename
Path/filename to the csv dataset. If file ends with .csv.gz, the csv will be zipped by
data.table::fwrite()
- na
Character to represent NA values
- quote
TRUE: use "" quotes, FALSE: do not (for NONMEM and MONOLIX)
- row.names
TRUE: export row names FALSE: do not (typical use in IQRtools)
- 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
See also
Other IQRdataGeneral:
+.IQRdataGENERAL()
,
IQRcalcTAD()
,
IQRdataGENERAL()
,
IQRexpandADDLII()
,
IQRloadCSVdata()
,
addCovariateInfo_IQRdataGENERAL()
,
addIndivRegressors_IQRdataGENERAL()
,
addLabel_IQRdataGENERAL()
,
attributes0()
,
blloqInfo_IQRdataGENERAL()
,
blloq_IQRdataGENERAL()
,
check_IQRdataGENERAL()
,
clean_IQRdataGENERAL()
,
combine_IQRdataGENERAL()
,
convertCat2Text()
,
covImpute_IQRdataGENERAL()
,
date2dateday_IQRdataProgramming()
,
date2datetime_IQRdataProgramming()
,
date2time_IQRdataProgramming()
,
exportDEFINE_IQRaedataER()
,
exportDEFINE_IQRdataGENERAL()
,
exportDEFINEpdf_IQRdataGENERAL()
,
exportSYS_IQRdataGENERAL()
,
export_IQRdataGENERAL()
,
getLabels_dataframe()
,
getNAcolNLME_IQRdataGENERAL()
,
handleSameTimeObs_IQRdataGENERAL()
,
is_IQRdataGENERAL()
,
loadATRinfo_csvData()
,
loadAttributeFile()
,
load_IQRdataGENERAL()
,
mapCategoricalCovariate_IQRnlmeProject()
,
mapCategoricalCovariate_csvData()
,
mapContinuousCovariate_IQRnlmeProject()
,
mapContinuousCovariate_csvData()
,
mutateCov_IQRdataGENERAL()
,
obfuscate_IQRdataGENERAL()
,
plot.IQRdataGENERAL()
,
plotCorCat_IQRdataGENERAL()
,
plotCorCovCat_IQRdataGENERAL()
,
plotCorCov_IQRdataGENERAL()
,
plotCovDistribution_IQRdataGENERAL()
,
plotDoseSchedule_IQRdataGENERAL()
,
plotIndiv_IQRdataGENERAL()
,
plotObsSummarizedByCovCat_IQRdataGENERAL()
,
plotRange_IQRdataGENERAL()
,
plotSampleSchedule_IQRdataGENERAL()
,
plotSpaghetti_IQRdataGENERAL()
,
print.IQRdataGENERAL()
,
removeCommata_dataframe()
,
rmAMT0_IQRdataGENERAL()
,
rmDosePostLastObs_IQRdataGENERAL()
,
rmIGNOREd_IQRdataGENERAL()
,
rmMissingTIMEobsRecords_IQRdataGENERAL()
,
rmNOobsSUB_IQRdataGENERAL()
,
rmNonTask_IQRdataGENERAL()
,
rmPLACEBO_IQRdataGENERAL()
,
rmSubjects_IQRdataGENERAL()
,
setIGNORErecords_IQRdataGENERAL()
,
setMissingDVobsRecordsIGNORE_IQRdataGENERAL()
,
subset.IQRdataGENERAL()
,
summary.IQRdataGENERAL()
,
summaryCat_IQRdataGENERAL()
,
summaryCov_IQRdataGENERAL()
,
summaryObservations_IQRdataGENERAL()
,
transformObs_IQRdataGENERAL()
,
unlabel_dataframe()
Other IQRnlmeData:
IQRcalcTAD()
,
IQRexpandADDLII()
,
IQRloadCSVdata()
,
IQRsysData()
,
date2dateday_IQRdataProgramming()
,
date2datetime_IQRdataProgramming()
,
date2time_IQRdataProgramming()
,
export_IQRnlmeData()
,
getLabels_dataframe()
,
is_IQRnlmeData()
,
plot.IQRnlmeData()
,
print.IQRnlmeData()
,
removeCommata_dataframe()
,
unlabel_dataframe()
Other Auxiliary:
IQRloadCSVdata()
,
and()
,
aux_explode()
,
aux_explodePC()
,
aux_fileparts()
,
aux_fileread()
,
aux_filewrite()
,
aux_getRelPath()
,
aux_mkdir()
,
aux_na_locf()
,
aux_postFillChar()
,
aux_preFillChar()
,
aux_quantilenumber()
,
aux_rmdir()
,
aux_simplifypath()
,
aux_splitVectorEqualPieces()
,
aux_strFindAll()
,
aux_strrep()
,
aux_strtrim()
,
aux_unlevel()
,
aux_version()
,
calcAICBIC()
,
clusterX()
,
compare_IQRmodel_IQRsysModel_simulation()
,
fit_EmaxModel()
,
format_GUM()
,
ge()
,
gen_aux_version()
,
geocv()
,
geomean()
,
geosd()
,
ginv()
,
gt()
,
interp0()
,
interp1()
,
interpcs()
,
inv_logit()
,
le()
,
logit()
,
lt()
,
mod()
,
mvrnorm()
,
norm_M3()
,
or()
,
piecewise()
,
progressBar()
,
remove_duplicates()
,
run_silent_IQR()
,
stopIQR()
,
tempdirIQR()
,
tempfileIQR()
,
warningIQR()