coldiss: Color plots of a dissimilarity matrix, without and with...

Description Usage Arguments Examples

View source: R/coldiss.R

Description

This function generates color plots of dissimilarity matrices, with our without ordering. It was supplied as supplementary data to "Numerical ecology with R" Boccard & Legendre, 2012. And authored by Francois Gillet.

Usage

1
coldiss(D, nc = 4, byrank = TRUE, diag = FALSE)

Arguments

D

dissimilarity matrix. If D is not a dissimilarity matrix (max(D)>1), then D is divided by max(D)

nc

number of colors (classes, defaults to 4)

byrank

specifiy either equal-sized classes (TRUE) or equal-length intervals (FALSE). Defaults to TRUE

diag

print object labels on the diagonal (defaults to FALSE)

Examples

1
2
3
4
## Short example

# coldiss(spe.dj, nc=9, byrank=F, diag=T)
# Original author: Francois Gillet, 23 aug 2012

CMET-UGent/CMETNGS documentation built on Dec. 12, 2020, 8:22 a.m.