calculate_DRY {partitionBEFsp}R Documentation

Calculate change in relative yield

Description

calculates change in relative yield, DRY, comparing observed relative yield to the expected yield 1/Q

Usage

calculate_DRY(P, M, Q = length(M))

Arguments

P

biomass of species grown in polyculture

M

biomass of species grow in monoculture - note, must include the same species as P, listed in the same order

Q

number of species in the community -defaults to length(M), but note that if you are calculating DRY for a large community of Q species of which only N are observed, you should set Q=Q, rather than Q=N.

Value

a list of changes in relative yields

Examples

# Please see package help file (?partitionBEFsp) for examples.

[Package partitionBEFsp version 1.0 Index]