寻找矩阵中的缺失值。
语法:
A.ismissm() |
查找矩阵A中的空值或空字符串,返回与A大小相同的向量。 |
A.ismissm(indicator) |
在矩阵A中查找指定值indicator,返回与A大小相同的向量。 |
备注:
外部库函数,外部库的使用请参考《外部库使用指南》。
在返回值中缺失值被标记为1。
参数:
A |
二维序列。 |
indicator |
数字/字符串/序列。 |
序列
示例:
|
A |
|
1 |
=[[1,2,3,,2,,1,1,1,1],[2,,4,5,6,7]] |
|
2 |
=A1.ismissm() |
|
3 |
=[["one",,"three","four",, ,"ten"],["one","two"," ","one"]] |
|
4 |
=A3.ismissm() |
|
5 |
=[[1,1,1,1,0,1,1,1],[1,1,1,1,0,1,1,1],[0,0,0,0,1,0,1]] |
|
6 |
=0 |
|
7 |
=A5.ismissm(A6) |
|
8 |
=[0] |
|
9 |
=A5.ismissm(A8) |
|
10 |
=[["one","one","two","one","one"],["two","one","one","one"]] |
|
11 |
=["two"] |
|
12 |
=A10.ismissm(A11) |
|