R/absToRel.R

"absToRel" <- function(parmVec, respl, typeCalc)
{
    ## Converting absolute to relative
    if (typeCalc == "absolute") 
    {
        p <- 100 * ((parmVec[3] - respl) / (parmVec[3] - parmVec[2]))
    } else {  
        p <- respl
    }

    p
}
MaximeBSanofi/drc2 documentation built on Feb. 22, 2022, 12:02 a.m.