sp_determine_log_add: Determine the value to add befor log transform.

View source: R/utilities.R

sp_determine_log_addR Documentation

Determine the value to add befor log transform.

Description

Determine the value to add befor log transform.

Usage

sp_determine_log_add(data, ratio = 1)

Arguments

data

A numerical dataframe or a vector

ratio

Minimum non-zero value would be used as add values. if ratio specified, the detected minimum non-zero multiple ratio would be returned.

Value

A numericalvalue

Examples


sp_determine_log_add(c(1,2,3))


Tong-Chen/ImageGP documentation built on April 14, 2025, 12:54 p.m.