get_compensation: Get compensation

Description Usage Arguments Value

View source: R/use_fxns.R

Description

Calculate degree to which small granivores on exclosure plots compensate for kangaroo rat removal. Compensation calculated as (SmgranEnergy_Exclosures - SmgranEnergy_Controls) / DipoEnergy_Controls.

Usage

1

Arguments

treatl

result of get_treatment_means

Value

df with columns smgran_comp, compensation as defined above, and smgran_comp_ma, the 6-month moving average.


diazrenata/soar documentation built on Jan. 21, 2022, 3:32 a.m.