Whether to normalize term frequency by document totals.
Value
A matrix of the same type as x, with values replaced by the tf-idf
$$ f_{ij} * \log[n/(d_j+1)], $$
where \(f_{ij}\) is \(x_{ij}/m_i\) or \(x_{ij}\), depending on normalize,
and \(d_j\) is the number of documents containing token \(j\).