climmeans: Calculate climate means for relevant weather variables

View source: R/climmeans.R

climmeansR Documentation

Calculate climate means for relevant weather variables

Description

Calculate climate means for relevant weather variables

Usage

climmeans(dat_in, gasex = c("Thiebault", "Wanninkhof"))

Arguments

dat_in

Input data frame as a similar format required for ecometab

gasex

chr indicating if gas exchange is estimated using equations in Thiebault et al. 2008 or Wanninkhof 2014 (see f_calcKL or f_calcWanninkhof)

Details

Function is used internally within ecometab. Missing values for weather variables are replaced by the monthly/hourly average calculated from the available data in dat_in. If gasex = 'Thiebault', this applies to air temperature, wind speed, and barometric pressure. If gasex = 'Wanninkhof', this applies only to wind speed.

Value

The same data frame as in dat_in, except missing values for the relevant weather variables are replaced with estimated means.

Examples

climmeans(SAPDC)

fawda123/WtRegDO documentation built on March 18, 2024, 9:04 p.m.