eseq: Extended regular sequence

Description Usage Arguments Value Author(s) Examples

View source: R/eseq.R

Description

This function returns an extended regular sequence based on a numeric vector. It is used mainly to create sequences of regression variables to predict the response of a model.

Usage

1
eseq(x, length.out = 25, f = 0.05)

Arguments

x

A numeric vector used to generate the extended range sequence.

length.out

An integer value that is the number of elements in the sequence, passed to the internal call of the seq() function.

f

The expansion factor relative to the range of values in the vector x. It is passed to the internal call of the extendrange().

Value

A numeric vector of length length.out that is a new sequence based on x.

Author(s)

Walmes Zeviani, walmes@ufpr.br.

Examples

1
eseq(x = 0:1, length.out = 11, f = 0.05)

walmes/wzRfun documentation built on Aug. 10, 2021, 2:19 p.m.