Usage
mat.dissim(inFossil, inModern, llMod = c(), modTaxa = c(), llFoss = c(), fosTaxa = c(), numAnalogs = 1, counts = T, sitenames = 1:length(inFossil[, 1]), dist.method = "euclidean")
Arguments
inFossil
Dataframe: Fossil (or Modern) Calibration Dataset: a file containing field names in the first row of the fossil/modern calibration dataset where each subsequent row containing a site/row identifier (Sample ID), coordinates in either a planar/projected x,y system or as Longitude and Latitude in decimal degrees, dd, and taxon counts followed by the modern environmental variables (Mod.Env 1,Mod.Env n) that will be used for modern training and/or paleoenvironmental reconstruction. The final and optional field would contain, for each row, a nominal code representing the biological zone to which each row/site belongs.
inModern
Dataframe: Modern Calibration Dataset: a file containing field names in the first row of the modern calibration dataset where each subsequent row containing a site/row identifier (Sample ID), coordinates in either a planar/projected x,y system or as Longitude and Latitude in decimal degrees, dd, and taxon counts followed by the modern environmental variables (Mod.Env 1,Mod.Env n) that will be used for modern training and/or paleoenvironmental reconstruction. The final and optional field would contain, for each row, a nominal code representing the biological zone to which each row/site belongs.
llMod
Vector: with two items, the number of the column containing the x-coordinate for each sample and the number of the column containing the y-coordinate for each sample within the inModern dataset.
modTaxa
Vector: with two items, the number of the column containing the first taxon for analysis for each sample and the number of the column containing the last taxon for each sample within the inModern dataset.
llFoss
Vector: see argument llMod above for explanation but with reference to the inFossil argument
fosTaxa
Vector: see argument modTaxa above for explanation but with reference to the inFossil argument
numAnalogs
Numeric: a single number > 1 that specifies the number of modern analogs to use in the reconstruction.
counts
Logical: True (default) then the program assumes that your inFossil AND inModern datasets are taxon counts and so will automatically convert them to proportions.
sitenames
The column with the sample site names within the inFossil dataset.
dist.method
the distance method used