Last data update: 2014.03.03

R: Plant-pollinator data sets in hive plot data format
ArroyoR Documentation

Plant-pollinator data sets in hive plot data format

Description

Plant-pollinator data sets which were derived ultimately from Vasquez and Simberloff, 2003. These are two-trophic level systems that have almost exactly the same plants and pollinators. Safari is from an undisturbed area, while Arroyo is from a nearby location grazed by cattle. In the original publication, the data sets are called Safariland and Arroyo Goye. See Details for how the original data was converted.

Usage

data(Arroyo)
data(Safari)

Format

The format is:
List of 7
$ nodes :'data.frame': 39 obs. of 6 variables:
..$ id : int [1:39] 1 2 3 4 5 6 7 8 9 10 ...
..$ lab : chr [1:39] "Aristotelia chilensis" "Alstroemeria aurea" "Schinus patagonicus" "Berberis darwinii" ...
..$ radius: num [1:39] 0.404 0.775 0.507 0.79 0.55 ...
..$ axis : int [1:39] 1 1 1 1 1 1 1 1 1 1 ...
..$ size : num [1:39] 1 1 1 1 1 1 1 1 1 1 ...
..$ color : chr [1:39] "black" "black" "black" "black" ...
$ edges :'data.frame': 43 obs. of 4 variables:
..$ id1 : int [1:43] 2 21 2 2 33 2 38 39 16 6 ...
..$ id2 : int [1:43] 13 2 27 30 2 37 2 3 6 20 ...
..$ weight: num [1:43] 0.985 0.985 0.985 0.985 0.985 ...
..$ color : chr [1:43] "white" "white" "white" "white" ...
$ type : chr "2D"
$ desc : chr "Modified Arroyoland Data Set"
$ axis.cols : chr [1:2] "gray" "gray"
- attr(*, "class")= chr "HivePlotData"

Details

These data sets are HivePlotData objects. They were created from the datasets Safariland and vazarr in the package bipartite. The process was the same for each: 1. Plants were placed on one axis, pollinators on the other. 2. A radius was assigned by calculating d' using function dfun in package bipartite. d' is an index of specialization; higher values mean the plant or pollinator is more specialized. 3. Edge weights were assigned proportional to the square root of the normalized number of visits of a pollinator to a plant. Thus the width of the edge drawn is an indication of the visitation rate. 4. The number of visits were divided manually into 4 groups and used to assign edge colors ranging from white to red. The redder colors represent greater numbers of visits, and the color-coding is comparable for each data set. Thus both the edge color and the edge weight encode the same information. It would of course be possible to encode an additional variable by changing either edge color or weight. Please e-mail if you would like the script used to convert the data sets.

Source

D. P. Vasquez and D. Simberloff "Changes in interaction biodiversity induced by an introduced ungulate" Ecology Letters, vol. 6 pgs 1077-1083 (2003).

References

http://academic.depauw.edu/~hanson/HiveR/HiveR.html

Examples

data(Safari)
sumHPD(Safari)
plotHive(Safari)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(HiveR)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/HiveR/Arroyo.Rd_%03d_medium.png", width=480, height=480)
> ### Name: Arroyo
> ### Title: Plant-pollinator data sets in hive plot data format
> ### Aliases: Arroyo Safari
> ### Keywords: datasets
> 
> ### ** Examples
> 
> data(Safari)
> sumHPD(Safari)
	Modified Safariland Data Set
	This hive plot data set contains 36 nodes on 2 axes and 39 edges.
	It is a  2D data set.

		Axis 1 has 9 nodes spanning radii from 0.5590405 to 1 
		Axis 2 has 27 nodes spanning radii from 0 to 0.9500994 

		Axes 1 and 2 share 19 edges
		Axes 2 and 1 share 20 edges

> plotHive(Safari)
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>