8.2.55 standardizeMissing

Function: out = standardizeMissing (X, indicator)

Insert standard missing values.

Standardizes missing values in X by replacing the values listed in indicator with the standard missing values for the type of X.

Standard missing values depend on the data type: * NaN for double, single, duration, and calendarDuration * NaT for datetime * ' ' for char * {''} for cellstrs * Integer numeric types have no standard missing value; they are never considered missing. * Structs are never considered missing. * Logicals are never considered missing.

See also: table.standardizeMissing