length-methods {tm}R Documentation

Methods for Function length in Package ‘tm’

Description

Methods for function length in package tm.

Methods

x = "Corpus"
Returns the number of text documents in x.
x = "TextRepository"
Returns the number of text document collections in x.

Examples

data("crude")
length(crude)
length(TextRepository(crude))

[Package tm version 0.3-3 Index]