comment2corpus: Convert 'comment' list-column to 'corpus' list-column

Description Usage Arguments See Also

Description

These functions convert data frames stored in the list-column 'comment' of the data frame returned by post2df to corpus objects in corpus, VCorpus, and PCorpus.

Usage

1
2
3

Arguments

df

Data frame. A data frame generated by post2df.

PCorpus

Logical. Whether to contruct corpus with PCorpus. If FALSE, uses VCorpus. Defaults to FALSE.

...

Additional arguments passed on to corpus, VCorpus, or PCorpus.

See Also

post2qcorp, post2tmcorp


liao961120/pttR documentation built on Dec. 16, 2019, 2:19 a.m.