Data Management Tools for Pharmacometrics


[Up] [Top]

Documentation for package ‘amp.dm’ version 0.2.1

Help Pages

attr_add Add attributes from a list to a dataframe
attr_extract Extracts attributes from a data frame
attr_factor Create factors for variables within a data frame using the format attribute
attr_xls Reads in attributes from an external excel file
check_cat Create an overview of the available categories
check_nmdata Checks nonmem dataset for common errors/mistakes
cmnt Add comment to environment to present in documentation
cmnt_print Function that prints the comments given by cmnt
contents_df Create information for multiple data frames
counts_df Create counts and frequencies within in data frame
create_addl Create ADDL data item and deletes unnecessary amount lines
define_tbl Create define PDF file for submission of pharmacometric data files
egfr Calculates EGFR values based on different types of formulas
expand_addl_ii Expand rows in case ADDL and II variables are present
fill_dates Fills down dates within a data frame that include a start and end date
filterr Filter data with logging of results
flag_outliers Creates a flag for outlying values
get_log Retrieve log objects
get_script Get the current script name (either interactive Rstudio, markdown or batch script)
impute_covar Impute missing covariates
impute_dose Imputes dose records using ADDL and II by looking forward and backwards
left_joinr Perform a left join of two data frames with logging of results
log_df Create information for all functions that log actions
make_readonly Sets the read-only attribute for all files available within a folder
num_lump Perform lumping of numerical values
output_data export R data for NONMEM modeling
plot_vars Creates different kind of plots for variables within a dataset using ggplot2
read_data read external data with logging of results
session_tbl Create information for R session
srce Add source information to environment to present in documentation
stats_df Calculate basic statistics on data frame
time_calc Create time variables for usage in NONMEM analyses
weight_height Calculates different weight variables