Description Usage Arguments Details Examples
easily write a csv file compatible with nonmem
1 2 3 4 5 6 7 8 9 |
x |
dataframe to be written to csv |
file |
character string naming a file or connection open for writing. |
sep |
field string separator, defaults to comma (",") |
row.names |
logical value whether to include row names |
na |
value for NA |
quote |
whether character or factor columns should be surrounded by double quotes |
... |
remaining arguments passed to data.table::fwrite |
nonmem uses '.' for NA values, does not like quotes in column names and does not handle row names, so these are all presets
1 2 3 4 | ## Not run:
write_nonmem(nonmemdat, 'folder/nonmemdat.csv')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.