mm_transf_geom: Geometric Scaling

View source: R/align.R

mm_transf_geomR 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)

ehrlichd/moRphomenses documentation built on Jan. 9, 2025, 6:29 p.m.