geomseq: Geometric Sequence

View source: R/utilseq.R

geomseqR Documentation

Geometric Sequence

Description

Generate a geometric sequence between two endpoints. The sequence is equally spaced on a logarithmic scale.

Usage

geomseq(from, to, length.out)

Arguments

from

Starting value. A positive number.

to

Ending value. A positive number.

length.out

Number of elements in the sequence. A positive integer.

Details

This is a wrapper for seq.default which generates a geometric sequence between the two endpoints.

Value

Numeric vector.

Author(s)

\spatstatAuthors

.

See Also

seq.default

Examples

  geomseq(1, 32, length.out=6)

spatstat.utils documentation built on Oct. 24, 2023, 9:08 a.m.