ncol-methods {tm}R Documentation

Methods for Function ncol in Package ‘tm’

Description

Methods for function ncol in package tm.

Methods

x = "TermDocMatrix"
Retrieve the number of columns of the term-document matrix.

Examples

data("crude")
tdm <- TermDocMatrix(crude)
ncol(tdm)

[Package tm version 0.3-3 Index]