R tm软件包。在哪里可以找到TermDocumentMatrix组件的详细说明?i、 j,v

R tm软件包。在哪里可以找到TermDocumentMatrix组件的详细说明?i、 j,v,r,tm,R,Tm,例如,这是一个tdm: str(AssociatedPress) List of 6 $ i : int [1:302031] 1 1 1 1 1 1 1 1 1 1 ... $ j : int [1:302031] 116 153 218 272 299 302 447 455 548 597 ... $ v : int [1:302031] 1 2 1 1 1 1 2 1 1 1 ... $ nrow : int 2246 $ ncol :

例如,这是一个tdm:

str(AssociatedPress)
List of 6
$ i       : int [1:302031] 1 1 1 1 1 1 1 1 1 1 ...

$ j       : int [1:302031] 116 153 218 272 299 302 447 455 548 597 ...
$ v       : int [1:302031] 1 2 1 1 1 1 2 1 1 1 ...
$ nrow    : int 2246
$ ncol    : int 10473
$ dimnames:List of 2
..$ Docs : NULL
..$ Terms: chr [1:10473] "aaron" "abandon" "abandoned" "abandoning" ...
- attr(*, "Weighting")= chr [1:2] "term frequency" "tf"
- attr(*, "class")= chr [1:2] "DocumentTermMatrix" "simple_triplet_matrix"
我一直在试图找到这些列的描述$I、$j、$v。。。 非常感谢,

看看这个:

?术语文档矩阵

我们看到:

Value

An object of class TermDocumentMatrix or class DocumentTermMatrix
(both inheriting from a simple triplet matrix in package slam)
containing a sparse term-document matrix or document-term matrix. The
attribute Weighting contains the weighting applied to the matrix.
当您单击语句中的链接时,这两个都继承自一个

Arguments

i, j    
Integer vectors of row and column indices, respectively.

v   
Vector of values.
而且

Details
simple_triplet_matrix is a generator for a class of
“lightweight” sparse matrices, “simply” represented by triplets (i,
j, v) of row indices i, column indices j, and values v, respectively.
simple_triplet_zero_matrix and simple_triplet_diag_matrix are
convenience functions for the creation of empty and diagonal
matrices.

谢谢,我得到了稀疏矩阵的概念,就像给I,j和那些非零的值一样。