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

Usage Arguments References Examples

View source: R/sa.R

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
##---- 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 Aug. 22, 2017, 6:15 p.m.