Learn R Programming

corpustools (version 0.5.1)

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

Description

Force an object to be a tCorpus class

Usage

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

Arguments

x

the object to be forced

...

not used

Examples

Run this code
tc = create_tcorpus(c('First text', 'Second text'))
as.tcorpus(tc)

Run the code above in your browser using DataLab