Learn R Programming

metacom (version 1.5.3)

TestMatrices: Test matrices used to evaluate metacommunity functions

Description

A list of 7 test matrices from two of the foundational papers on the Elements of Metacommunity Structure analysis (Leibold & Mikkelson 2002 and Presley et al. 2010)

Arguments

Format

A list containing interaction matrices from Leibold & Mikkelson 2002 and Presley et al. 2010:

1) dim=(20 x 20) Randomly generated matrix (`rbinom(400,1,0.4)`)

2) dim=(10 x 10) Leibold & Mikkelson 2002 Figure 1b

3) dim=(10 x 10) Leibold & Mikkelson 2002 Figure 2a

4) dim=(10 x 10) Leibold & Mikkelson 2002 Figure 2b

5) dim=(15 x 10) Leibold & Mikkelson 2002 Figure 3c

6) dim=(20 x 20) Presley et al. Figure 3c

7) dim(20 x 20) Presley et al. Figure 4a

Examples

Run this code
# NOT RUN {
#load list containing interaction matrices
data(TestMatrices)

length(TestMatrices)
names(TestMatrices)

#image plot of interaction matrix, using the Imagine() function
test <- TestMatrices[[6]]
Imagine(test, fill=FALSE, order=TRUE)


# }

Run the code above in your browser using DataLab