n_fnames {mclm} | R Documentation |
Count number of items in an 'fnames' object
Description
This function counts the number of items, duplicated or not, in an fnames
object. If there are duplicated items, it will return a warning.
Usage
n_fnames(x, ...)
Arguments
x |
Object of class |
... |
Additional arguments. |
Value
A number.
Examples
cwd_fnames <- as_fnames(c("folder/file1.txt", "folder/file2.txt", "folder/file3.txt"))
n_fnames(cwd_fnames)
[Package mclm version 0.2.7 Index]