read_nmtab: NONMEM output table import function

View source: R/read_nmtab.R

read_nmtabR Documentation

NONMEM output table import function

Description

Quickly import NONMEM output tables into R. 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.

Usage

read_nmtab(file = NULL, skip = NULL, header = NULL,
  rm_duplicates = FALSE, nonmem_tab = TRUE)

Arguments

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 indicading to the function whether the file is a table or a nonmem additional output file.

Value

A data.frame

See Also

parse_nonmem_model, import_qmd_info

Examples

## Not run: 
data <- read_nmtab(file = '../models/pk/sdtab101')

## End(Not run)

guiastrennec/modelviz documentation built on Feb. 16, 2024, 8:14 p.m.