logTrafo: A function for log transforming data.

View source: R/mrbin.R

logTrafoR Documentation

A function for log transforming data.

Description

This function performs logarithm transformation. Will not work with negative data.

Usage

logTrafo(mrbinResults, verbose = TRUE, errorsAsWarnings = FALSE)

Arguments

mrbinResults

An mrbin object

verbose

Should a summary be printed?

errorsAsWarnings

If TRUE, errors will be turned into warnings. Should be used with care, as errors indicate undocumented changes to the data.

Value

An invisible mrbin object

Examples

resetEnv()
mrbinResults<-mrbin(silent=TRUE,setDefault=TRUE,parameters=list(dimension="1D", logTrafo="No",
                    binwidth1D=0.05,signal_to_noise1D=50,verbose=TRUE,PCA="No",tryParallel=TRUE,
                    NMRfolders=c(system.file("extdata/1/10/pdata/10",package="mrbin"),
                                system.file("extdata/2/10/pdata/10",package="mrbin"))))
mrbinResults<-logTrafo(mrbinResults)

mrbin documentation built on June 22, 2024, 9:39 a.m.