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]
    }
}

Try the drc package in your browser

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

drc documentation built on May 1, 2019, 8:43 p.m.