Description Usage Arguments Details Value Author(s) Examples

Transforms an input vector into one with defined *μ* and *σ* by using a scaled-and-shifted Z-transformation.

1 |

`x` |
the input vector to be transformed. |

`mean` |
the desired mean of the created vector. |

`sd` |
the desired standard deviation of the created vector. |

Calculates vector *V* using a Z-transformation of the input vector *X* and subsequent scaling by `sd`

and shifting by `mean`

:

*V = \frac{X - μ_X}{σ_X} \cdot \rm{sd} + \rm{mean}*

A vector with defined *μ* and *σ*.

Andrej-Nikolai Spiess

1 2 3 4 5 6 7 8 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.