Description Usage Arguments Details Value Author(s) References See Also Examples

Normalize a vector or matrix to zero mean and unit length columns.

1 | ```
normalize(X)
``` |

`X` |
a matrix with the training data with observations down the rows and variables in the columns. |

This function can e.g. be used for the training data in the `ASDA`

function.

`normalize`

Returns a list with the following attributes:

- Xc
The normalized data

- mx
Mean of columns of

`X`

.- vx
Length of columns of

`X`

.- Id
Logical vector indicating which variables are included in X. If some of the columns have zero length they are omitted

Line Clemmensen

Clemmensen, L., Hastie, T. and Ersboell, K. (2008) "Sparse discriminant analysis", Technical report, IMM, Technical University of Denmark

`normalizetest`

, `predict.ASDA`

, `ASDA`

1 2 3 4 5 6 7 8 9 |

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.