lastNot#
- swordfish.function.lastNot()#
If X is a vector:
If k is not specified: return the last element of X that is not null.
If k is specified: return the last element of X that is neither k nor null.
If X is a matrix/table, conduct the aforementioned calculation within each column of X. The result is a vector.
lastNot also supports querying DFS tables and partitioned tables.