View source: R/ch.distOverlapFlex.r
ch.distOverlapFlex | R Documentation |
This function does a bootstrap to calculate the percentage of samples that Distribution X is greater than Distribution Y. When Distribution X (or Y) are the combination of multiple items, then it uses combFun (a function) to combine the values of those items into a single distribution.
ch.distOverlapFlex(xDist, yDist, numRuns, combFun = ch.maxAveComb, ...)
xDist |
a list containing the values for Distribution X. |
yDist |
a list containing the values for Distribution Y. |
numRuns |
the number of runs in the bootstrap. DEFAULT = 100. |
combFun |
If there are multiple items contributing to a single distribution, this function describes how the values will be combined across items in both the X and Y distributions. The function must combine elements of a list that might be of different different lengths. The default just flattens the list into one large vector. DEFAULT = ch.maxAveComb (with probMax = 0.5) |
the average percentage of samples that xDist was greater than yDist, the sd of the average percentage, Overlap = a transformation of average percentage so 1=complete overlap and 0 = no overlap, direction = 1 if xDist > yDist; else -1
ch.distOverlapFlex (xValue, yValue,100, combFun = ch.maxAveComb, probMax = 0.667)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.