createfrostflag: Creates Flag for Potential Frost

Description Usage Arguments

View source: R/functions_L2.R

Description

createfrostflag adds a flag for potential frost. Gaps of temperature data are filled with previous non-NA value.

Usage

1
createfrostflag(df, tem, lowtemp = 5, sample_temp)

Arguments

df

input data.frame.

lowtemp

numeric, specifies the temperature in °C below which frost shrinkage or expansion is expected. Default value is set to 5°C due to hysteresis shortly before or after frost events.

sample_temp

logical, specifying whether sample temperature dataset is used.


treenet/treenetproc documentation built on June 16, 2021, 4:39 p.m.