R/pickParm.R

## Helper functions for mean functions
"pickParm" <- function(parmVec, indexVec, parmNo)
{
    function(parm)
    {
        parmVec[indexVec] <- parm
        parmVec[parmNo]
    }
}

"monoParm" <- function(parmVec, indexVec, parmNo, signVal)
{
    function(parm)
    {
        parmVec[indexVec] <- parm
        signVal * parmVec[parmNo]
    }
}
MaximeBSanofi/drc2 documentation built on Feb. 22, 2022, 12:02 a.m.