diag2na {quanteda.textstats} | R Documentation |
Converts the diagonal, or the same-pair equivalent in an object where the columns have been selected, to NA.
diag2na(x)
x |
the return from |
sparse Matrix format with same-pair values replaced with NA