Learn R Programming

simboot (version 0.2-8)

predatGM: Abundance data of predatory insects

Description

In a field trial with 8 complete blocks, one genetically modified crop variety and three varieties without genetical modification (S1, S2, S3) have been cultivated. Note that S1 is genetically closely related to the GM variety, and mainly differs from GM by not containing the transformation, while S2 and S3 are conventional varieties, which are genetically not closely related to GM and S1. In each of the 24 plots, a certain taxonomic group of predatory insects has been trapped. Trapped individuals have been classified to the species level. A total of 33 different species has been observed. For each plot, the summed counts of each species over one cultivation period is given in the variables Sp1, Sp2,...Sp33. Among others, one question in research was: Does the genetic modified variety effect biodiversity of the (ecologically important, non-target) species?

Usage

data(predatGM)

Arguments

Format

A data frame with 32 observations on the following 35 variables.

Block

a numeric vector, values 1,...,8 indicate the blocks of the trial

Variety

a factor distinguishing the four varieties in the field trial, with levels GM (the genetically modified variety), S1 (the near-isogenic, conventional variety), S2 and S3 (further conventional varieties)

Sp1

a numeric vector, observed counts of species 1

Sp2

a numeric vector, ...

Sp3

a numeric vector

Sp4

a numeric vector

Sp5

a numeric vector

Sp6

a numeric vector

Sp7

a numeric vector

Sp8

a numeric vector

Sp9

a numeric vector

Sp10

a numeric vector

Sp11

a numeric vector

Sp12

a numeric vector

Sp13

a numeric vector

Sp14

a numeric vector

Sp15

a numeric vector

Sp16

a numeric vector

Sp17

a numeric vector

Sp18

a numeric vector

Sp19

a numeric vector

Sp20

a numeric vector

Sp21

a numeric vector

Sp22

a numeric vector

Sp23

a numeric vector

Sp24

a numeric vector

Sp25

a numeric vector

Sp26

a numeric vector

Sp27

a numeric vector

Sp28

a numeric vector

Sp29

a numeric vector

Sp30

a numeric vector

Sp31

a numeric vector

Sp32

a numeric vector

Sp33

a numeric vector

Examples

Run this code
data(predatGM)

str(predatGM)

# Display data as a mosaicplot

# load("D:/Mueller/Biodiv/data/predatGM.rda")

# Matrix of counts with appropriate names
COUNTS<-as.matrix(predatGM[,3:35])
SPECNAM<-names(predatGM)[3:35]
colnames(COUNTS)<-SPECNAM
rownames(COUNTS)<-predatGM[,"Variety"]

# Assign colors and order by decreasing total abundance
COL<-grey(c(0,2,4,6,8,1,3,5,7)/8)
DMO<-COUNTS[,order(colSums(COUNTS), decreasing=TRUE)]
colnames(DMO)[15:33]<-"."

# Mosaicplot
par(mar=c(4,2,1,1))
mosaicplot(DMO, col=COL, las=2, off=15, main="", cex=1.1)
mtext("A", side=3, line=-1.5, adj=0, cex=2)


Run the code above in your browser using DataLab