Learn R Programming

bigsnpr (version 1.9.11)

seq_log: Sequence, evenly spaced on a logarithmic scale

Description

Sequence, evenly spaced on a logarithmic scale

Usage

seq_log(from, to, length.out)

Value

A sequence of length length.out, evenly spaced on a logarithmic scale between from and to.

Arguments

from

the starting and (maximal) end values of the sequence. Of length 1 unless just from is supplied as an unnamed argument.

to

the starting and (maximal) end values of the sequence. Of length 1 unless just from is supplied as an unnamed argument.

length.out

desired length of the sequence. A non-negative number, which for seq and seq.int will be rounded up if fractional.

Examples

Run this code
seq_log(1, 1000, 4)
seq_log(1, 100, 5)

Run the code above in your browser using DataLab