Learn R Programming

conformal (version 0.1)

expGrid: Exponential Grid Definition

Description

The function defines an exponential series, which can be used, e.g. when defining the parameter space when training some models such as Support Vector Machines or Gaussian Processes.

Usage

expGrid(power.from, power.to, power.by, base)

Arguments

power.from
The starting exponential of the series.
power.to
The latest exponential of the series.
power.by
The exponential step of the series.
base
The base of the exponential series.

Value

  • A vector with the exponential series.

Examples

Run this code
expGrid(power.from=-10,power.to=10,power.by=2,base=10)

Run the code above in your browser using DataLab