Skip to contents

Subset the data part of a dailyMet object

Usage

# S3 method for dailyMet
subset(x, ...)

Arguments

x

An objects with class "dailyMet".

...

Arguments passed to the subset method of the "data.frame" class.

Value

An object with class "dailyMet" corresponding to the subsetted data.

Caution

this method is only intended to be used to subset (observations), not to select (variables). It works by giving a "subsetting condition" as illustrated in Examples.

Examples

Rennes1 <- subset(Rennes, Date < as.Date("2020-01-01"))