Description Usage Arguments Value Examples
View source: R/sheppardCorrection.r
Calculate the mean of any binned data and the variance and corrected variance
1 | sheppardCorrection(counts, binLower, binUpper)
|
counts |
A row vector the cells associated with count of objects in each bin, |
binLower |
A vector of the lower bounds of each bin |
binUpper |
A vector of the upper bounds of each bin |
A list with three components
The mean of the matrix of binned vectors mu
The unadjusted variance sigma2
The variance with the adjusted shepherd correction sigma2Adj
The the sheppard corrected variance
1 2 3 4 | upper <- seq(10, 100, 10)
lower <- seq(0, 90, 10)
counts <- c(0, 0, 4, 4, 4, 2, 0, 0, 0, 0)
sheppardCorrection(counts, upper, lower)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.