convert.sapflux.time.units: Convert Sapflux Time Units

Description Usage Arguments Details Value

View source: R/convert.sapflux.time.units.R

Description

Convert Sapflux Time Units

Usage

1
radial.trends ( sapflux.data, starting.time.units, desired.time.units)

Arguments

sapflux.data

A data.frame or matrix of sap flux data. Product from AquaFlux Shiny App.

starting.time.units

Existing time units. "s" = second, "min" = minute, "hr" = hour, "day" = day

desired.time.units

Desired time units. Same guidelines as starting.time.units.

Details

This function account for radial trends in sap flux by modeling the relationship between sap flux at two observed different depths. This relationship can be an average value, a linear regression, or a Gaussian regression. The relationship is then plotted, both in terms of sap flux (vol/m2 of sapwood /time) and sap flow (vol/time) after accounting for different sapwood areas. Funciton output is a time series of average sap flow after accounting for radial trends.

Value

Output is a time series of sap flux data, now matching the desired time units.


HeatherSpeckman/AquaFlux documentation built on June 15, 2020, 12:41 p.m.