calc_dailyInputFlags: Determine used weather variables based on values

View source: R/sw_dbW_WeatherDatabase.R

calc_dailyInputFlagsR Documentation

Determine used weather variables based on values

Description

Determine used weather variables based on values

Usage

calc_dailyInputFlags(x, name_data = weather_dataColumns())

Arguments

x

Weather data, i.e., a list where each element is of class swWeatherData, or a data frame with appropriate columns (see dbW_weatherData_to_dataframe()).

name_data

A vector of character strings. The column names of x with weather variables.

Value

A logical vector for each of the possible input variables with TRUE if at least one value is not missing.

Examples

calc_dailyInputFlags(rSOILWAT2::weatherData)
calc_dailyInputFlags(dbW_weatherData_to_dataframe(rSOILWAT2::weatherData))



DrylandEcology/rSOILWAT2 documentation built on Jan. 12, 2024, 9:06 p.m.