getWindows: Get all possible windows

Description Usage Arguments Details Value Author(s)

View source: R/functions.R

Description

Get all possible windows between specified alpha. and 1

Usage

1
getWindows(x, alpha)

Arguments

x

A numeric vector.

alpha

Window size. Needs to be higher than 0 and lower or equal to 1.

Details

This function is a dependency for rankLocReg where it is used to extract all local windows for local regressions. alpha must be higher than 0 and lower or equal to 1.

Value

A matrix of vector positions, with starting value on first column and ending value on second column.

Author(s)

Colin Olito and Diego Barneche.


colin-olito/LoLinR documentation built on May 13, 2019, 9:54 p.m.