Description Usage Arguments Value
Calculates the mean of a sub-vector, weighting start and end if the corresponding indices are no whole numbers.
1 | subVectorMean_fast(x, startIdx, endIdx)
|
x |
Numeric vector. |
startIdx |
Index of first element of sub-vector. |
endIdx |
Index of last element of sub-vector. |
The weighted mean as double.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.