tests/testthat/test_calc_neutropenia_grade.R

test_that("calculates NP grades", {
  expect_equal(calc_neutropenia_grade(c(3000, 250, 500)), c(NA, 4, 3))
})

Try the clinPK package in your browser

Any scripts or data that you put into this service are public.

clinPK documentation built on May 29, 2024, 3:50 a.m.