reconcile: Reconcile Community and Site Data.Frames
Description
reconcile takes two data frames (comm and site) and sorts both
into the same order, and then deletes any rows unique to either of the two
data.frames, achieving perfect correspondence of the two.
Usage
reconcile(comm,site,exlist)
Value
A list object with two elements: comm and site, which are the sorted and
reconciled data.frames.
Arguments
comm
a community abundance data.frame with samples as rows and species as columns
site
a data.frame of site or environmental variables with samples as rows and variables as columns
exlist
a switch to control listing specific plots vs simply the number of plots
reconcile sorts each data.frame alphabetically by row.name, and then
compares the list of row.names to identify sample plots common to both
data.frames. Sample plots which occur in only one of the data.frames are
deleted.