Description Usage Arguments Value Examples

This function centers and scales the columns of a matrix. It essentially produces the same result as `scale`

1 | ```
standardize(x)
``` |

`x` |
a matrix |

A list with components

`x` |
the standardized matrix |

`center` |
column means of |

`scale` |
norms of the (centered) columns of |

1 2 3 4 | ```
x <- matrix(runif(40),8,5)
x.std <- standardize(x)
colMeans(x.std$x)
colSums(x.std$x^2)
``` |

kouroshz/creNet documentation built on Aug. 4, 2017, 4:13 a.m.

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.