wccv_get_y {wv}R Documentation

Mapping to log10 scale

Description

Map x to the value in log10 scale

Usage

wccv_get_y(x, tick_y_min, tick_y_step)

Arguments

x

A vector with dimensions J x 1.

tick_y_min

A negtive integer the minimum power of 10, which corresponds to the smallest scale on y-axis.

tick_y_step

An integer indicating the increment of the sequence.

Details

tick_y_min is usually chosen as floor(min(log10(abs(x))))

Value

A field<vec> that contains values in log10 scale.

Author(s)

James Balamuta and Justin Lee

Examples

x = 2^(-1:-9)
y.min = floor(min(log10(abs(x))))
y.step = 2
wccv_get_y(x, y.min, y.step)

[Package wv version 0.1.2 Index]