Package: amp.dm 0.2.1

Richard Hooijmaijers

amp.dm: Data Management Tools for Pharmacometrics

Tools and functions to efficiently create datasets used in pharmacometric analysis. Additional functionality is added to create documentation and prepare files for submission and quality control purposes.

Authors:Richard Hooijmaijers [aut, cre, cph], LAPP Consultants [fnd, cph]

amp.dm_0.2.1.tar.gz
amp.dm_0.2.1.zip(r-4.7)amp.dm_0.2.1.zip(r-4.6)amp.dm_0.2.1.zip(r-4.5)
amp.dm_0.2.1.tgz(r-4.6-any)amp.dm_0.2.1.tgz(r-4.5-any)
amp.dm_0.2.1.tar.gz(r-4.7-any)amp.dm_0.2.1.tar.gz(r-4.6-any)
amp.dm_0.2.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
amp.dm/json (API)
NEWS

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

Bug tracker:https://github.com/leidenadvancedpkpd/amp.dm/issues

Pkgdown/docs site:https://leidenadvancedpkpd.github.io

On CRAN:

Conda:

quarto

3.60 score 3 scripts 544 downloads 34 exports 33 dependencies

Last updated from:4d93661a41. Checks:3 ERROR, 5 WARNING, 1 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64ERROR147
source / vignettesERROR3194
linux-release-x86_64ERROR138
macos-release-arm64WARNING157
macos-oldrel-arm64WARNING193
windows-develWARNING121
windows-releaseWARNING138
windows-oldrelWARNING119
wasm-releaseOK112

Exports:attr_addattr_extractattr_factorattr_xlscheck_catcheck_nmdatacmntcmnt_printcontents_dfcounts_dfcreate_addldefine_tblegfrexpand_addl_iifill_datesfilterrflag_outliersgeneral_tblget_logget_scriptimpute_covarimpute_doseleft_joinrlog_dfmake_readonlynum_lumpoutput_dataplot_varsread_datasession_tblsrcestats_dftime_calcweight_height

Dependencies:bitbit64cellrangerclicliprcpp11crayondplyrforcatsfsgenericsgluehavenhmslifecyclemagrittrpillarpkgconfigprettyunitsprogressR6readrreadxlrematchrlangtibbletidyselecttzdbutf8vctrsvroomwithrxtable

Readme and manuals

Help Manual

Help pageTopics
Add attributes from a list to a dataframeattr_add
Extracts attributes from a data frameattr_extract
Create factors for variables within a data frame using the format attributeattr_factor
Reads in attributes from an external excel fileattr_xls
Create an overview of the available categoriescheck_cat
Checks nonmem dataset for common errors/mistakescheck_nmdata
Add comment to environment to present in documentationcmnt
Function that prints the comments given by cmntcmnt_print
Create information for multiple data framescontents_df
Create counts and frequencies within in data framecounts_df
Create ADDL data item and deletes unnecessary amount linescreate_addl
Create define PDF file for submission of pharmacometric data filesdefine_tbl
Calculates EGFR values based on different types of formulasegfr
Expand rows in case ADDL and II variables are presentexpand_addl_ii
Fills down dates within a data frame that include a start and end datefill_dates
Filter data with logging of resultsfilterr
Creates a flag for outlying valuesflag_outliers
Retrieve log objectsget_log
Get the current script name (either interactive Rstudio, markdown or batch script)get_script
Impute missing covariatesimpute_covar
Imputes dose records using ADDL and II by looking forward and backwardsimpute_dose
Perform a left join of two data frames with logging of resultsleft_joinr
Create information for all functions that log actionslog_df
Sets the read-only attribute for all files available within a foldermake_readonly
Perform lumping of numerical valuesnum_lump
export R data for NONMEM modelingoutput_data
Creates different kind of plots for variables within a dataset using ggplot2plot_vars
read external data with logging of resultsread_data
Create information for R sessionsession_tbl
Add source information to environment to present in documentationsrce
Calculate basic statistics on data framestats_df
Create time variables for usage in NONMEM analysestime_calc
Calculates different weight variablesweight_height