Description Usage Arguments Value
Compute standardization/normalization for rows or columns of a matrix.
1 2 | margin.scale(X, type = NULL, center = F, scale = F, margin = 2,
keep.original.attributes = F)
|
X |
a matrix for input |
type |
the type of scaling to perform. Options: "rp" (row profile) which is item divided by row sums, "hellinger" which is sqrt of "rp", "z" which is the same as scale(x), and "ss1" which is sum of squares 1. Also available is "scale" and requires use of center and scale parameters |
center |
the intended center (see |
scale |
the intended scale (see |
margin |
which margin to perform this on (i.e., 1 for rows and 2 for columns) |
column or row normalized version of the matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.