rawsDF_filter: General purpose data filtering for rawsDF objects

View source: R/rawsDF_filter.R

rawsDF_filterR Documentation

General purpose data filtering for rawsDF objects

Description

A generalized data filter for rawsDF objects to choose rows/cases where conditions are true. Multiple conditions are combined with & or separated by a comma. Only rows where the condition evaluates to TRUE are kept.Rows where the condition evaluates to NA are dropped.

Usage

rawsDF_filter(rawsDF = NULL, ...)

Arguments

rawsDF

rawsDF object.

...

Logical predicates defined in terms of the variables in the rawsDF.

Value

A subset of the incoming rawsDF.

See Also

rawsDF_filterDate

Examples


library(RAWSmet)

rawsObject <- example_cefa_Saddle_Mountain
rawsDF <- rawsObject %>% raws_toRawsDF()

daytime <- rawsDF_filter(rawsDF, solarRadiation > 0)
head(daytime)



MazamaScience/RAWSmet documentation built on May 6, 2023, 6:57 a.m.