poppr (version 2.3.0)

poppr.all: Process a list of files with poppr

Description

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.

Usage

poppr.all(filelist, ...)

Arguments

filelist
a list of files in the current working directory
...
arguments passed on to poppr

Value

see poppr

See Also

poppr, getfile

Examples

Run this code
## Not run: 
# # Obtain a list of fstat files from a directory.
# x <- getfile(multi=TRUE, pattern="^.+?dat$")
# 
# # set the working directory to that directory.
# setwd(x$path)
# 
# # run the analysis on each file.
# poppr.all(x$files)
# ## End(Not run)

Run the code above in your browser using DataLab