logseq: Generate sequence in log scale

Description Usage Arguments Value Examples

View source: R/svm.R

Description

Generate sequence but in log scale. This function takes takes the length of log-sequence and the minimal and maximal point. It returns the interval between a and b divided in log scale.

Usage

1
logseq(a, b, n=8)

Arguments

a

the smaller value in the interval

b

the bigger value in the interval

n

the number of intervals to divide a,b into

Value

a vector of numbers

Examples

1
2
# produces vector c(0.01, 0.1, 1)
logseq(0.01, 1, 3)

ddgraph documentation built on Nov. 17, 2017, 10:50 a.m.