Learn R Programming

mclm (version 0.2.7)

as_fnames: Coerce object to 'fnames'

Description

This function coerces a character vector into an object of class fnames.

Usage

as_fnames(x, remove_duplicates = TRUE, sort = TRUE, ...)

Value

An object of class fnames.

Arguments

x

A character vector (or a freqlist object!)

remove_duplicates

Boolean. Whether duplicates should be removed.

sort

Boolean. Whether the output should be sorted.

...

Additional arguments.

Examples

Run this code
as_fnames("path/to/my/corpus_file")

Run the code above in your browser using DataLab