# REMOVE

## Purpose:

Removes points from a series on a periodic basis or by explicit indices.

## Syntax:

REMOVE(series, interval, start, blocksize)

 series - Optional. A series or table, defaults to the current Window. interval - An integer, the remove interval. start - Optional. An integer, the starting point. Defaults to 1. blocksize - Optional. An integer, the number of points to remove at every interval. Defaults to 1.

## Alternate Syntax:

REMOVE(series, idxseries)

 series - A series or table. idxseries - A series or table. Specifies the indices of the points to remove.

## Returns:

A series or table.

## Example:

W1: 1..10

W2: remove(W1, 3)

W2 == {2, 3, 5, 6, 8, 9}. Removes every 3rd point, starting at the first point.

## Example:

W1: 1..10

W3: remove(W1, 3, 4)

W3 == {1, 2, 3, 5, 6, 8, 9}. Removes every 3rd point, starting at the fourth point.

## Example:

W1: 1..10

W4: remove(W1, 3, 4, 2)

W4 == {1, 2, 3, 6, 9}. Removes a block of 2 points, every 3rd point, starting at the fourth point.

## Example:

W1: 10..1

W2: remove(w1, {1..5, 8})

W2 contains the series {5, 4, 2, 1}.

## Remarks:

remove(series, idxseries) explicitly defines the indices of the points to be removed.

Values can be also be deleted using the {} empty series. For example,

W1[1] = {}

deletes the first point of W1.

W1[1..10] = {}

deletes the first 10 points of W1.

See OUTLIER to replace outlier values with a linear interpolation of the surrounding values.

See REMOVENA to remove NaN values from a series.

DECIMATE

DELETE

DELETECOL

DELETEROW

DELMATCH

EXTRACT

FIND

INSERT

OUTLIER

REMOVENA

REPLACE

VALFILL