a numeric vector of data values. The length must be greater then 1 and variance greater then 0.
normalise
logical, indicating whether the vector should be normalised.
Value
A numeric vector.
Details
Let n denotes the length ox x. For each $m \in [1,n]$ bridge transformations BridgeT
is difined as
$$BridgeT(m, x) = \left{ \sum_{i=1}^m x_i - \frac{m}{n} \sum_{i=1}^n x_i \right} .$$
Meanwhile, the transformation with normalisation is
$$BridgeT(m, x) = \frac{1}{\sqrt{n var(x)}} \left{ \sum_{i=1}^m x_i - \frac{m}{n} \sum_{i=1}^n x_i \right} .$$