logtransform {doebioresearch}R Documentation

Log transformation of the numeric vector

Description

The function carries out log with base 10 transformation of each values of vector. If one of values of a vector is 0, 1 is added to each observation. Log transformation is carried out for the data when variance is proportional to square of the mean and treatment effects are multiplicative in nature.

Usage

logtransform(numeric.vector)

Arguments

numeric.vector

data vector to be transformed

Value

A list of

Examples

vector<-c(100,0,120,1000,52,30,60)
logtransform(vector)

[Package doebioresearch version 0.1.0 Index]