Description Usage Arguments Value Author(s)
Normalize tables by columns with Z score. This function returns the mean value and standard deviation of each column, and the functions to pass from the original table to a normilized one and vice versa.
1 |
table |
table that contain the data. |
cols |
character vector with names of columns to normalize. |
mean.function |
function to get the mean value to use in Z score. |
sd.function |
function to get the standard deviation value to use in Z score. |
Returns a list that contain 4 elements, the functions scale(table) and unScale(table) which recieve a table an returns a normalized or un-normalized one, a vector with the mean value of each column with its name and another vector with the standard deviation value of each column with its name.
Daniel Fischer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.