replaceWithMissing
(Not Recommended) Insert missing data indicators into a dataset array
The dataset data type is not recommended. To work with heterogeneous data,
use the MATLAB®
table data type instead. See MATLAB
table documentation for more information.
Description
replaces specified values in a dataset array with standard missing data indicators using
options specified by one or more ds2 = replaceWithMissing(ds,Name=Value)Name=Value arguments. Use
replaceWithMissing to specify:
Which numeric missing value indicators to replace with
NaN.Which character missing value indicators to replace with
''.Which categorical levels to replace with
<undefined>.
Input Arguments
Name-Value Arguments
Output Arguments
Version History
Introduced in R2012b