jv73 {ade4}R Documentation

K-tables Multi-Regions

Description

This data set gives physical and physico-chemical variables, fish species, spatial coordinates about 92 sites.

Usage

data(jv73)

Format

jv73 is a list of 6 components.

morpho

is a data frame with 92 sites and 6 physical variables.

phychi

is a data frame with 92 sites and 12 physico-chemical variables.

poi

is a data frame with 92 sites and 19 fish species.

xy

is a data frame with 92 sites and 2 spatial coordinates.

contour

is a data frame for mapping.

fac.riv

is a factor distributing the 92 sites on 12 rivers.

Source

Verneaux, J. (1973) Cours d'eau de Franche-Comt? (Massif du Jura). Recherches ?cologiques sur le r?seau hydrographique du Doubs. Essai de biotypologie. Th?se d'Etat, Besan?on.

References

See a data description at http://pbil.univ-lyon1.fr/R/pdf/pps047.pdf (in French).

Examples

data(jv73)

w <- split(jv73$morpho, jv73$fac.riv)
w <- lapply(w, function(x) t(dudi.pca(x, scann = FALSE)))
w <- ktab.list.dudi(w)

if(adegraphicsLoaded()) {
  if(requireNamespace("sp", quiet = TRUE)) {
    g11 <- s.label(jv73$xy, Sp = jv73$Spatial, pori.incl = FALSE, plab.cex = 0.75, plot = FALSE)
    g12 <- s.class(jv73$xy, jv73$fac.riv, ellipseSize = 0, pellipses.axes.draw = FALSE, 
      starSize = 0, ppoints.cex = 0, plab.cex = 1.25, plot = FALSE)
    g1 <- superpose(g11, g12, plot = TRUE)
  
    g2 <- kplot(sepan(w), perm = TRUE, row.plab.cex = 0, posieig = "none")
  }
  
} else {
  s.label(jv73$xy, contour = jv73$contour, incl = FALSE, clab = 0.75)
  s.class(jv73$xy, jv73$fac.riv, add.p = TRUE, cell = 0, axese = FALSE, csta = 0, 
    cpoi = 0, clab = 1.25)
  
  kplot(sepan(w), perm = TRUE, clab.r = 0, clab.c = 2, show = FALSE)
}

[Package ade4 version 1.7-4 Index]