Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Test if an expression contains a Missing value
Check if an expression has a missing value at default level 1:
In[1]:= | ![]() |
Out[1]= | ![]() |
Check if an expression contains a missing value (at default level 1):
In[2]:= | ![]() |
Out[2]= | ![]() |
At level 2, the expression contains a missing value:
In[3]:= | ![]() |
Out[3]= | ![]() |
Define some sample data with missing values:
In[4]:= | ![]() |
Check if it contains missing values at the lowest level (-1):
In[5]:= | ![]() |
Out[5]= | ![]() |
Use with Select to get the element of the list with the missing value:
In[6]:= | ![]() |
Out[6]= | ![]() |
Select the data that does not contain missing values:
In[7]:= | ![]() |
Out[7]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License