tests/testthat/test_pk_1cmt_inf_dose_from_cmax.R

test_that("PK 1cmt infusion dose calculation", {
  expect_equal(
    round(
      pk_1cmt_inf_dose_from_cmax(
        cmax = 10,
        tau = 24,
        t_inf = 1,
        CL = 10,
        V = 50
      ),
      1
    ),
    547.1
  )
})
InsightRX/clinPK documentation built on April 24, 2024, 6:01 p.m.