calculate_DRY: Calculate change in relative yield

Description Usage Arguments Value Examples

View source: R/partitioning_functions.R

Description

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

Usage

1
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

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

partitionBEFsp documentation built on Aug. 21, 2019, 9:05 a.m.