Learn R Programming

corpustools (version 0.5.1)

as.tcorpus.default: Force an object to be a tCorpus class

Description

Force an object to be a tCorpus class

Usage

# S3 method for default
as.tcorpus(x, ...)

Arguments

x

the object to be forced

...

not used

Examples

Run this code
if (FALSE) {
x = c('First text','Second text')
as.tcorpus(x) ## x is not a tCorpus object
}

Run the code above in your browser using DataLab