logspace: Returns numbers evenly spaced in logspace.

Description Usage Arguments Value Examples

View source: R/arrays.R

Description

In linear space the sequence starts at base^start and ends at base^stop.

Usage

1
logspace(start, stop, num = 15, base = 10)

Arguments

start

base^startis the starting value of the sequence.

stop

base^stop is the final value in the sequence.

num

Number of sequence elements to generate. Default is 15.

base

The base of the log space. Default is 10.

Value

Sequence from base^start to base^stop evenly logspaced.

Examples

1
logspace(-5, 5)

alexpghayes/hayeslib documentation built on Nov. 6, 2018, 10:49 p.m.