IVector.Replace Missing Values 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#
A new vector that has its missing values replaced.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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
IVectorA new vector that has its missing values replaced.