R/scaled.R

Defines functions scaled

Documented in scaled

#' Power-law scaling for doses
#' 
#' Implement an inverse power-law scaling for drug dose.
#' 
#' 
#' @param dose A numeric vector of doses
#' @param a A numeric exponent for power-law rescaling
#' @return A rescaled vector of doses
#' @author David C. Norris
scaled <-
function(dose, a=4.0) dose^(1/a)

Try the DTAT package in your browser

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

DTAT documentation built on March 31, 2023, 10:26 p.m.