Learn R Programming

ade4 (version 1.7-19)

ardeche: Fauna Table with double (row and column) partitioning

Description

This data set gives information about species of benthic macroinvertebrates in different sites and dates.

Usage

data(ardeche)

Arguments

Format

ardeche is a list with 6 components.

tab

is a data frame containing fauna table with 43 species (rows) and 35 samples (columns).

col.blocks

is a vector containing the repartition of samples for the 6 dates : july 1982, august 1982, november 1982, february 1983, april 1983 and july 1983.

row.blocks

is a vector containing the repartition of species in the 4 groups defining the species order.

dat.fac

is a date factor for samples (6 dates).

sta.fac

is a site factor for samples (6 sites).

esp.fac

is a species order factor (Ephemeroptera, Plecoptera, Coleoptera, Trichoptera).

Details

The columns of the data frame ardeche$tab define the samples by a number between 1 and 6 (the date) and a letter between A and F (the site).

Examples

Run this code
data(ardeche)
dudi1 <- dudi.coa(ardeche$tab, scan = FALSE)
s.class(dudi1$co, ardeche$dat.fac)
if(adegraphicsLoaded()) {
  s.label(dudi1$co, plab.cex = 0.5, add = TRUE)
} else {
  s.label(dudi1$co, clab = 0.5, add.p = TRUE)
}

Run the code above in your browser using DataLab