mm_transf_geom {moRphomenses} | R Documentation |
Geometric Scaling
Description
Calculate the geometric mean of a vector and scale all values by it.
Usage
mm_transf_geom(x)
Arguments
x |
A numeric vector to be scaled. Missing values will produce NA, conduct knn imputation using mm_FillMissing first. |
Value
Returns a scaled vector
Examples
mm_transf_geom(1:10)
[Package moRphomenses version 1.0.2 Index]