log_CT_orig {COINr}R Documentation

Log-transform a vector

Description

Performs a log transform on a numeric vector.

Usage

log_CT_orig(x, na.rm = FALSE)

Arguments

x

A numeric vector.

na.rm

Set TRUE to remove NA values, otherwise returns NA.

Details

Specifically, this performs a "COIN Tool log" transform: log(x-min(x) + 1).

Value

A log-transformed vector of data, and treatment details wrapped in a list.

Examples

x <- runif(20)
log_CT_orig(x)


[Package COINr version 1.1.14 Index]