Log10 Space Operations {R4RNA}R Documentation

Log base 10 sequence, floor and ceiling

Description

Sequence, floor and ceiling operations in log 10 space.

Usage

    logseq(from, to, length.out)

    logfloor(x)

    logceiling(x)

Arguments

from, to

Positive non-zero values to start and end sequence, respectively.

length.out

The number of elements the resulting sequence should containg. If absent, function will attempt to generate numbers factors of 10 apart.

x

A value to round.

Value

logseq returns an array numbers evenly distanced in log10-space.

logfloor and logceiling return a value that is 10 raised to an integer number.

Author(s)

Daniel Lai

Examples

    logseq(1e-10, 1e3)
    logseq(1e-10, 1e3, length.out = 10)
    logceiling(2.13e-6)
    logfloor(2.13e-6)

[Package R4RNA version 1.22.0 Index]