liu_dtm: Liu's Document-Term Matrix

liu_dtmR Documentation

Liu's Document-Term Matrix

Description

This is the Document-Term Matrix (with simple term frequency weights) representation of liu_4h28

Usage

liu_dtm

Format

Both [tm]{DocumentTermMatrix} and [slam]{simple_triplet_matrix}

i

integer vector

the document-wise (rows) coordinates of non-zero entries of the matrix, i.e. the lenght of i is the number of non-zero entries.

j

integer vector

the term-wise (columns) coordinates of non-zero entries of the matrix, i.e. the lenght of j is the number of non-zero entries.

v

numerical vector

the non-zero entries (frequencies/weight of the matrix) corresponding to the relative coordinates (i, j), i.e. the lenght of v is the number of non-zero entries.

nrow

integer

the whole number of rows of the matrix

ncol

integer

the whole number of columns of the matrix

dimnames

list

a list of two character vectors representing the Terms/Tokens (the first one) and the name/ID of the documents (the second one)

Source

https://www.ncbi.nlm.nih.gov/pubmed/24639059


UBESP-DCTV/costumer documentation built on Feb. 1, 2023, 4:52 a.m.