a single value (numeric) with the percentage of coverage for that
variable
Arguments
x
a vector, usually a variable in the sapflow or environmental data.
timestep
numeric value with the timestep in minutes
period_minutes
numeric value with the period in minutes
Details
This helper function calculates the coverage percentage in a vector, and is
designed to be used inside a dplyr summarise statement. It calculates the
coverage as the percentage of no NAs in the expected length of the summarising
period stated by the timestep.