Usage
mat.fossavg(dObj, modEnvCol, fossEnvCol = 0, fossCols = 0, cutoff = 0, distance = -1, wmethod = "none", numanalogs = length(dObj$position[, 1]))
Arguments
dObj
List: output from application of mat.dissim
modEnvCol
Numeric: the column of the modern dataset (inModern in mat.dissim) that contains the environmental variable of interest.
fossEnvCol
Numeric: Not currently implemented. The column of the fossil dataset (inFossil in mat.dissim) that contains the environmental variable of interest.
fossCols
Vector: the column in the fossil dataset that contains the modern environmental variable measured at the fossil sites.
cutoff
Numeric: the critical value determined either through application of mat.mc or mat.roc or any arbritrary value
distance
Numeric: the maximum distance a modern sample site can be from each fossil site and still be considered as a potential analog.
wmethod
Character: either "equal.wt" (default) or "inv.dissim", "inv.dist","inv.rank", "single" or "none".
numanalogs
Numeric: the number of analogs to use in the reconstruction.