poppr.all is a wrapper function that will loop through a list of files from the working directory, execute poppr, and concatenate the output into one data frame.

poppr.all(filelist, ...)

Arguments

filelist

a list of files in the current working directory

...

arguments passed on to poppr

Value

see poppr

See also

Examples

# \dontrun{ # Obtain a list of fstat files from a directory. x <- getfile(multi=TRUE, pattern="^.+?dat$")
#> Error in file.path(file.choose()): unable to translate '<90>k<e4><fe>' to UTF-8
# run the analysis on each file. poppr.all(file.path(x$path, x$files))
#> Error in file.path(x$path, x$files): object 'x' not found
# }