Learn R Programming

gapmap (version 1.0.0)

map.exp: A function to map values in a range exponentially

Description

This function maps a value in one range to another range exponentially.

Usage

map.exp(value, start1, stop1, start2, stop2, scale = 0.5)

Value

a numeric value

Arguments

value

input value

start1

lower bound of the value's current range

stop1

upper bound of the value's current range

start2

lower bound of the value's taget range

stop2

upper bound of the value's target range

scale

scale log base