lwrDens: calculates the lower between two distribution for every value...

View source: R/sa.R

lwrDensR Documentation

calculates the lower between two distribution for every value required

Usage

lwrDens(parVal, shapeA1, shapeA2, shapeB1, shapeB2, distrib)

Arguments

parVal
shapeA1
shapeA2
shapeB1
shapeB2
distrib

References

CLEMONS, Traci E.; BRADLEY, Edwin L. A nonparametric measure of the overlapping coefficient. Computational statistics & data analysis, 2000, 34.1: 51-61.

Examples

##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (parVal, shapeA1, shapeA2, shapeB1, shapeB2, distrib)
{
    denA <- get(distrib)(parVal, shapeA1, shapeA2)
    denB <- get(distrib)(parVal, shapeB1, shapeB2)
    pmin(denA, denB)
  }

FoscoV/sobSenAn documentation built on March 21, 2022, 4:21 p.m.