Learn R Programming

ade4 (version 1.7-19)

atya: Genetic variability of Cacadors

Description

This data set contains information about genetic variability of Atya innocous and Atya scabra in Guadeloupe (France).

Usage

data(atya)

Arguments

Format

atya is a list with the following components:

xy

a data frame with the coordinates of the 31 sites

gen

a data frame with 22 variables collected on 31 sites

neig

an object of class neig

nb

a neighborhood object (class nb defined in package spdep)

Examples

Run this code
if (FALSE) {
data(atya)
if(requireNamespace("pixmap", quietly = TRUE)) {
  atya.digi <- pixmap::read.pnm(system.file("pictures/atyadigi.pnm",
      package = "ade4"))
  atya.carto <- pixmap::read.pnm(system.file("pictures/atyacarto.pnm",
      package = "ade4"))
  par(mfrow = c(1, 2))
  pixmap:::plot(atya.digi)
  pixmap:::plot(atya.carto)
  points(atya$xy, pch = 20, cex = 2)
}
if(requireNamespace("spdep", quietly = TRUE)) {
  plot(neig2nb(atya$neig), atya$xy, col = "red", add = TRUE, lwd = 2)
  par(mfrow = c(1,1))
}
}

Run the code above in your browser using DataLab