Movatterモバイル変換


[0]ホーム

URL:


rdrr.io

Ops.Date: Operators on the Date Class

Ops.DateR Documentation

Operators on the Date Class

Description

Operators for the"Date" class.

There is anOps method and specificmethods for+ and- for theDate class.

Usage

date + xx + datedate - xdate1 lop date2

Arguments

date

date objects

date1, date2

date objects or character vectors. (Charactervectors are converted byas.Date.)

x

a numeric vector (in days)or an object of class"difftime", rounded to the nearest whole day.

lop

One of==,!=,<,<=,>or>=.

Details

x does not need to be integer if specified as a numeric vector,but see the comments about fractional days in the help forDates.

Examples

(z <- Sys.Date())z + 10z < c("2009-06-01", "2010-01-01", "2015-01-01")

What can we improve?

R Package Documentation

Browse R Packages

We want your feedback!

Note that we can't provide technical support on individual packages. You should contact the package authors for that.

 
Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, readEmbedding Snippets.

Close

[8]ページ先頭

©2009-2026 Movatter.jp