Package: NMdata 0.1.7.901

NMdata: Preparation, Checking and Post-Processing Data for PK/PD Modeling

Efficient tools for preparation, checking and post-processing of data in PK/PD (pharmacokinetics/pharmacodynamics) modeling, with focus on use of Nonmem. Attention is paid to ensure consistency, traceability, and Nonmem compatibility of Data. Rigorously checks final Nonmem datasets. Implemented in 'data.table', but easily integrated with 'base' and 'tidyverse'.

Authors:Philip Delff [aut, cre], Eric Anderson [ctb], Matthew Fidler [ctb]

NMdata_0.1.7.901.tar.gz
NMdata_0.1.7.901.zip(r-4.5)NMdata_0.1.7.901.zip(r-4.4)NMdata_0.1.7.901.zip(r-4.3)
NMdata_0.1.7.901.tgz(r-4.4-any)NMdata_0.1.7.901.tgz(r-4.3-any)
NMdata_0.1.7.901.tar.gz(r-4.5-noble)NMdata_0.1.7.901.tar.gz(r-4.4-noble)
NMdata_0.1.7.901.tgz(r-4.4-emscripten)NMdata_0.1.7.901.tgz(r-4.3-emscripten)
NMdata.pdf |NMdata.html
NMdata/json (API)
NEWS

# Install 'NMdata' in R:
install.packages('NMdata', repos = c('https://philipdelff.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/philipdelff/nmdata/issues

On CRAN:

nonmempharmacometrics

51 exports 16 stars 2.75 score 4 dependencies 2 dependents 75 scripts 1.4k downloads

Last updated 11 days agofrom:ee9f559a99. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 06 2024
R-4.5-winOKSep 06 2024
R-4.5-linuxOKSep 06 2024
R-4.4-winOKSep 06 2024
R-4.4-macOKSep 06 2024
R-4.3-winOKSep 06 2024
R-4.3-macOKSep 06 2024

Exports:addOmegaCorraddTAPDccclcolLabelscompareColsdimsdt2mateditCharColsegdtfindCovsfindVarsflagsAssignflagsCountfnAppendfnExtensionis.NMdatalistMissingsmat2dtmergeCheckNMcheckColnamesNMcheckDataNMdataConfNMexpandDosesNMextractDataFileNMextractTextNMgenTextNMinfoNMisNumericNMorderColumnsNMreadCovNMreadCsvNMreadExtNMreadParsTextNMreadPhiNMreadSectionNMreadShkNMreadTabNMrelateNMreplaceDataFileNMscanDataNMscanInputNMscanMultipleNMscanTablesNMstampNMwriteDataNMwriteSectionrenameByContentstmpcoluniquePresentunNMdata

Dependencies:data.tablefstfstcoreRcpp

Readme and manuals

Help Manual

Help pageTopics
add Omega correlations to a parameter tableaddOmegaCorr
Add time since previous dose to data, time of previous dose, most recent dose amount, cumulative number of doses, and cumulative dose amount.addTAPD
Create character vectors without quotation markscc
Define a vector with factor levels in the same order as occurring in the vector.cl
Extract column labels as defined in SAScolLabels
Compare elements in lists with aim of combiningcompareCols
Get dimensions of multiple objectsdims
Convert a data.table of parameter estimates to a matrixdt2mat
Replace strings in character character columns of a data seteditCharCols
Expand grid of data.tablesegdt
Extract columns that vary within values of other columnsfindCovs
Extract columns that vary within values of other columns in a data.framefindVars
Assign exclusion flags to a dataset based on specified tableflagsAssign
Create an overview of number of retained and discarded datapoints.flagsCount
paste something before file name extension.fnAppend
Change file name extensionfnExtension
Check if an object is 'NMdata'is.NMdata
List rows with missing values across multiple columnslistMissings
upper or lower triangle or all values of a matrix as long-formatmat2dt
Merge, order, and check resulting rows and columns.mergeCheck
Compare $INPUT in control stream to column names in input dataNMcheckColnames
Check data for Nonmem compatibility or check control stream for data compatibilityNMcheckData
Configure default behavior of NMdata functionsNMdataConf
Basic arithmetic on NMdata objectscbind.NMdata dimnames.NMdata merge.NMdata NMdataOperations rbind.NMdata t.NMdata
Transform repeated dosing events (ADDL/II) to individual dosing eventsNMexpandDoses
Extract the data file used in a control streamNMextractDataFile
Versatile text extractor from Nonmem (input or output) control streamsNMextractText
Generate text for INPUT and possibly DATA sections of NONMEM control streams.NMgenText
Get metadata from an NMdata objectNMinfo
Test if a variable can be interpreted by NonmemNMisNumeric
Standardize column order in Nonmem input dataNMorderColumns
Read in data fileNMreadCov
Read input data formatted for NonmemNMreadCsv
Read information from Nonmem ext filesNMreadExt
Read comments to parameter definitions in Nonmem control streamsNMreadParsText
Read information from Nonmem phi filesNMreadPhi
Extract sections of Nonmem control streamsNMgetSection NMreadSection
Read Shrinkage data reported by NonmemNMreadShk
Read an output table file from NonmemNMreadTab
Relate parameter names and variables based on control stream code sections.NMrelate
Replace data file used in Nonmem control streamNMreplaceDataFile
Automatically find Nonmem input and output tables and organize dataNMscanData
Find and read input data and optionally translate column names according to the $INPUT sectionNMscanInput
Run NMscanData on multiple models and stack resultsNMscanMultiple
Find and read all output data tables in Nonmem runNMscanTables
stamp a dataset or any other objectNMstamp
Write dataset for use in Nonmem (and R)NMwriteData
Replace ($)sections of a Nonmem control streamNMwriteSection
print method for NMdata summariesprint.summary_NMdata
Rename columns matching properties of data contentsrenameByContents
summary method for NMdata objectssummary.NMdata
Extract unique non-missing value from vectoruniquePresent
Remove NMdata class and discard NMdata meta dataunNMdata