View source: R/inner.prod.max.R
| inner.prod.max | R Documentation |
The function finds the Unbalanced Haar vector which yields the largest (in absolute value) inner product with the input vector.
inner.prod.max(x)
x |
a vector |
The index where abs(inner.prod.iter(x)) is maximised. If two or more maxima are found, the med
of their locations is returned.
Piotr Fryzlewicz
inner.prod.iter, med, inner.prod.max.p
inner.prod.max(c(rep(0, 100), rep(1, 200)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.