Description Usage Arguments Value Examples
View source: R/read_table_nm.R
Quickly import NONMEM output tables into R.
Function taken from 'modelviz' package by Benjamin Guiastrennec.
When both skip
and header
are NULL
,
read_nmtab
will automatically detect the optimal
settings to import the tables. When more than one files are
provided for a same NONMEM run, they will be combined into
a single data.frame
.
1 2 3 4 5 6 7 |
file |
full file name |
skip |
number of lines to skip before reading data |
header |
logical value indicating whether the file contains the names of the variables as its first line |
rm_duplicates |
logical value indicating whether duplicated columns should be removed |
nonmem_tab |
logical value indicating to the function whether the file is a table or a nonmem additional output file. |
A data.frame
1 2 3 4 | ## Not run:
data <- read_table_nm(file = '../models/pk/sdtab101')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.