Configuration

Configure NMdata behaviour

NMdataConf()

Configure default behavior of NMdata functions

Data Preparation

Functions for preparation of PK/PD data sets

NMorderColumns()

Standardize column order in Nonmem input data

compareCols()

Compare elements in lists with aim of combining

listMissings()

List rows with missing values across multiple columns

mergeCheck()

Merge, order, and check resulting rows and columns.

renameByContents()

Rename columns matching properties of data contents

flagsAssign()

Assign exclusion flags to a dataset based on specified table

flagsCount()

Create an overview of number of retained and discarded datapoints.

addTAPD()

Add time since previous dose to data, time of previous dose, most recent dose amount, cumulative number of doses, and cumulative dose amount.

NMexpandDoses()

Transform repeated dosing events (ADDL/II) to individual dosing events

Write data

Write data and edit update NONMEM control streams

NMwriteData()

Write dataset for use in Nonmem (and R)

NMgenText()

Generate text for INPUT and possibly DATA sections of NONMEM control streams.

NMstamp()

stamp a dataset or any other object

NMwriteSection()

Replace ($)sections of a Nonmem control stream

Retrieve NONMEM data

Functions for retrieving NONMEM input and output data

NMscanData()

Automatically find Nonmem input and output tables and organize data

NMscanMultiple()

Run NMscanData on multiple models and stack results

NMscanTables()

Find and read all output data tables in Nonmem run

NMscanInput()

Find and read input data and optionally translate column names according to the $INPUT section

NMreadCsv()

Read input data formatted for Nonmem

NMreadTab()

Read an output table file from Nonmem

NMinfo()

Get metadata from an NMdata object

Checking and Debugging

Functions for checking data and input control streams

NMcheckColnames()

Compare $INPUT in control stream to column names in input data

NMcheckData()

Check data for Nonmem compatibility or check control stream for data compatibility

Programming

Additional functions for programming

cc()

Create character vectors without quotation marks

cl()

Define a vector with factor levels in the same order as occurring in the vector.

NMisNumeric()

Test if a variable can be interpreted by Nonmem

egdt()

Expand grid of data.tables

dims()

Get dimensions of multiple objects

findCovs()

Extract columns that vary within values of other columns

findVars()

Extract columns that vary within values of other columns in a data.frame

fnAppend()

paste something before file name extension.

fnExtension()

Change file name extension

is.NMdata()

Check if an object is 'NMdata'

unNMdata()

Remove NMdata class and discard NMdata meta data

NMreadSection() NMgetSection()

Extract sections of Nonmem control streams

NMextractDataFile()

Extract the data file used in a control stream

NMextractText()

Versatile text extractor from Nonmem (input or output) control streams

merge(<NMdata>) t(<NMdata>) dimnames(<NMdata>) rbind(<NMdata>) cbind(<NMdata>)

Basic arithmetic on NMdata objects

tmpcol()

generate a name for a new data column that is not already in use.

Misc

Miscellaneous

summary(<NMdata>)

summary method for NMdata objects

print(<summary_NMdata>)

print method for NMdata summaries