Description Usage Arguments Details Value

Internal function for normalizing the data.

1 |

`x` |
A vector or matrix that needs to be normalized. |

`base` |
If x is a vector, base is the minimum of x. If x is a matrix, base is a vector with the minimum for each of the columns of the matrix x. |

`spread` |
If x is a vector, spread=base-max(x). If x is a matrix, spread is a vector calculated for each of the columns of x. |

z=2*(x-base)/spread - 1

A vector or matrix with the resulting normalized values.

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.