Learn R Programming

taRifx (version 1.0.6.2)

searchPattern: Create a vector that starts with a given number and widens out

Description

Create a vector that starts with a given number and widens out

Usage

searchPattern(center = 0, length = 5, interval = 1)

Arguments

center

Number to center search pattern around

length

Number of elements in search pattern

interval

Distance between each element

Value

numeric vector

Examples

Run this code
# NOT RUN {
library(gdata)
searchPattern()
# }

Run the code above in your browser using DataLab