Learn R Programming

wv (version 0.1.2)

wccv_get_y: Mapping to log10 scale

Description

Map x to the value in log10 scale

Usage

wccv_get_y(x, tick_y_min, tick_y_step)

Value

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

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.

Author

James Balamuta and Justin Lee

Details

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

Examples

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

Run the code above in your browser using DataLab