IVector.ReplaceMissingValues Method

Replaces all missing values in a vector with the previous or next non-missing value.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
IVector ReplaceMissingValues(
	Direction direction,
	int limit = 1073741824
)

Parameters

direction  Direction
Specifies whether missing values should be replaced by the previous (Forward) or next (Backward) non-missing values.
limit  Int32  (Optional)
The maximum number of successive missing values that may be filled.

Return Value

IVector
A new vector that has its missing values replaced.

See Also