Learn R Programming

palaeoSig (version 2.1-3)

multi.mat: MAT for multiple variables

Description

MAT for many environmental variables simultaneously. More efficient than calculating them separately for each variable.

Usage

multi.mat(training.spp, envs, core.spp, noanalogues = 10, method = "sq-chord",
    run = "both")

Value

Matrix of predictions

Arguments

training.spp

Community data

envs

Environmental variables - or simulations

core.spp

Optional fossil data to make predictions for

noanalogues

Number of analogues to use

method

distance metric to use

run

Return LOO predictions or predictions for fossil data

Author

Richard Telford Richard.Telford@bio.uib.no

References

Telford, R. J. and Birks, H. J. B. (2009) Evaluation of transfer functions in spatially structured environments. Quaternary Science Reviews 28: 1309--1316. tools:::Rd_expr_doi("10.1016/j.quascirev.2008.12.020")

Examples

Run this code

data(arctic.env)
data(arctic.pollen)

mMAT <- multi.mat(arctic.pollen, arctic.env[,9:67], noanalogues = 5)

Run the code above in your browser using DataLab