DOI: 10.5061/dryad.r4xgxd2jf
title: Data from: Quantifying interspecific and intraspecific diversity effects on ecosystem functioning

description: Rapid environmental changes result in massive biodiversity loss with
 detrimental consequences for the functioning of ecosystems. Recent studies
 suggest that intraspecific diversity can contribute to ecosystem
 functioning to an extent comparable to contributions of interspecific
 diversity. Knowledge of the relative importance of these two sources of
 biodiversity is essential for predicting ecosystem consequences of
 biodiversity loss and will aid prioritization of conservation targets and
 implementation of management measures. However, our quantitative insights
 into how interspecific and intraspecific biodiversity loss affects
 ecosystem functioning, and how the effects of these two sources of
 biodiversity loss on ecosystem functioning can be compared are still very
 limited. To facilitate this goal, we extend the interspecific Price
 partitioning method originally introduced by J. Fox in 2006, previously
 used to quantify species loss and gain effects on ecosystem functioning,
 to also account for the effects of intraspecific diversity loss and gain
 on ecosystem function. Using this extended version can provide the
 quantitative information required for answering research questions
 addressing correlations between interspecific and intraspecific diversity
 effects on ecosystem function, identifying interspecific and intraspecific
 groups with large effects, and assessing whether intraspecific diversity
 can compensate for losses in interspecific diversity. Applying this method
 to carefully designed experiments will provide additional insights into
 how biodiversity loss at different ecological levels contributes to and
 changes ecosystem functioning.
description: \#\# There are two data sets that are being used 1) Weider\_Size.txt:
 contains the body length of Daphnia genotypes of different species in 4
 different food treatments 2) Weider2008Data contains the abundances of
 Daphnia genotypes
 #########################################################################
 Data-specific information for Weider\_Size.txt
 #########################################################################
 The data set consists of three columns \*Clone: gives the different
 Daphnia genotypes (PX for pulex, PUL for pulicaria and HYB for hybrid
 species) \*Treatment: gives the different food treatments (LH: low quality
 high quantity, LL: low quality low quantity, HL: high quality low
 quantity, HH: high quality high quantity) \* Size: body length of Daphnia
 (mm)
 #########################################################################
 Data-specific information for Weider2008Data.txt
 #########################################################################
 The data consists of 8 columns \*Species: gives the different Daphnia
 species (PX for pulex, PUL for pulicaria and HYB for hybrid species)
 \*Clone: gives the different Daphnia genotypes (PX for pulex, PUL for
 pulicaria and HYB for hybrid species) \*Day: gives the day of the
 experiment measurements were taken \*Treatment: gives the different food
 treatments (LH: low quality high quantity, LL: low quality low quantity,
 HL: high quality low quantity, HH: high quality high quantity) \*Density:
 gives the density of each Daphnia clone \*AFR: gives the age of first
 reproduction (here not being used in the analysis) \*FreqLin: gives the
 relative frequency of each Daphnia clone in the total community
 \*FreqLinWithinSpec: gives the relative frequency of each Daphnia clone
 within the species \#\#
 \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- \#\# There are two R scripts that are being used 1) Function\_RTD.R 2) Calculation\_Weider.R ######################################################################### Specific information for Function\_RTD.R ######################################################################### This function allows to extract information from apply and tapply functions to make an easy data frame ######################################################################### Specific information for Calculation\_Weider.R ######################################################################### This R script goes over the different steps to calculate intra- and interspecific diversity effects to a change in biomass linked to Figure 2 in the main text