as_fnames {mclm} | R Documentation |
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, ...)
Arguments
x |
A character vector (or a |
remove_duplicates |
Boolean. Whether duplicates should be removed. |
sort |
Boolean. Whether the output should be sorted. |
... |
Additional arguments. |
Value
An object of class fnames
.
Examples
as_fnames("path/to/my/corpus_file")
[Package mclm version 0.2.7 Index]