R/effectsSelect.R

effectsSelect <-
function (nloc, max.level = NULL, max.dom = NULL, effects = NULL) 
{
    if (is.null(effects)) 
        return(effectsNamesGeneral(nloc, max.level, max.dom))
    effects <- effects[sapply(effects, statusMaxLevel, max.level)]
    effects <- effects[sapply(effects, statusMaxDom, max.dom)]
    return(effects)
}

Try the noia package in your browser

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

noia documentation built on March 31, 2023, 6:45 p.m.