Learn R Programming

NMcalc

Basic calculations for pharmacometrics

Copy Link

Version

Install

install.packages('NMcalc')

Monthly Downloads

618

Version

0.0.4

License

MIT + file LICENSE

Maintainer

Philip Delff

Last Published

August 26th, 2024

Functions in NMcalc (0.0.4)

trapez

trapezoidal area under the curve on linear scale
logit

Logit function
invlogit

Inverse logit function
signif2

round to fixed number of significant digits
quantbin

Bin observations by quantiles. Label by bin number or by interval.
CV

Calculate coefficient of variation of data
seqlog

Log-scale equidistant sequences
CVlnorm

CV of log-normal dist baed on omega parameters CV based variance like provided in Nonmem's OMEGA metrix.
means

calculate arithmetic or geometric mean and confidence intervals