pmxcode0.1.4 package

Create Pharmacometric Models

get_mrgsolve_code

Creation of mrgsolve code

get_ncmts

Get the number of PK and PD compartments

get_nonmem_blocks

Get NONMEM code blocks

get_nonmem_code

Creation of NONMEM code

get_parms_code

Get NONMEM model parameter code lines as list

get_preamble_code

Get lines of preamble code for transit compartment absorption model an...

get_scaling_code

Get code lines for scaling and bioavailability

get_theta_number

Get number of THETA parameters

hot_to_r_raw

Convert covariate handsontable data to R data.frame without factor

is_EDB

Determine if a square matrix is of type block, band or error

new_model_server

New model module

notTruthy

Opposite of areTruthy

pipe

Pipe operator

pmxcode-package

pmxcode: Create Pharmacometric Models

replace_abbreviated

Replacement of @ABBREVIATED tag

replace_data

Replacement of @DATA tag

replace_des

Replace @DES tag

replace_error

Replace @ERROR tag

replace_input

Replacement of @INPUT tag

replace_model

Replace @MODEL tag

replace_mrg_capture

Replacement of @CAPTURE tag

replace_mrg_cmt

Replacement of @CMT tag

replace_mrg_global

Replacement of @GLOBAL tag

replace_mrg_main_pred

Replace @MAIN or @PRED tags

replace_mrg_ode

Replacement of @ODE tag

replace_mrg_omega

Replacement of @OMEGA tag

replace_mrg_param

Replacement of @PARAM tag

replace_mrg_plugin

Replacement of @PLUGIN tag

replace_mrg_sigma

Replacement of @SIGMA tag

replace_mrg_table

Replacement of @TABLE tag

replace_nmext

Replacement of @NMEXT tag

replace_omega

Replacement of @OMEGA tag

replace_path

Replacement of @PATH tag

replace_pk_pred

Replace @PK and @PRED tags

replace_prior

Replacement of @PRIOR tag

replace_problem

Replacement of @PROB1 and @PROB2 tags

replace_purpose

Replacement of @PURPOSE tag

replace_sigma

Replacement of @SIGMA tag

replace_subroutine

Replacement of @SUBROUTINE tag

replace_table

Replace @TABLE tag

replace_tags

Replace $TAGs tag

replace_task

Replace @TASK tag

replace_theta

Replacement of @THETA tag

resources

Load resource files

align_annotations

Auto indent mrgsolve code

align_tags

Auto indent NONMEM code tags

areTruthy

Multi-argument version of isTruthy

check_covariate_table

Check covariate definition table

check_incomplete_covariate_table

Check if covariate definition table contains rows with incomplete data

convert_reference_code

Convert reference code for univariate model creation

create_univariate_models

Generate univariate model code

file_exists

Determines if a file path exists

get_code

Creation of model code

get_correlation_table

Convert of covariance matrix into a 0/1 correlation map table

get_derived_parms_code

Get lines of code for derived parameters

get_individual_parm_code

Get line of code for individual parameter value

get_init_code

Get compartment intialization block

get_mrg_individual_parm_code

Get line of code for individual parameter value

get_mrg_parms_code

Get mrgsolve model parameter code lines as list

run_app

Run the Shiny Application

tenvars

Format variables by lines of 10.

Provides a user interface to create or modify pharmacometric models for various modeling and simulation software platforms.

  • Maintainer: Sebastien Bihorel
  • License: MIT + file LICENSE
  • Last published: 2024-10-19