hours: Extract numeric hours of month from a POSIXct or POSIXlt...

Description Usage Arguments Value Examples

Description

Extract numeric hours of month from a POSIXct or POSIXlt vector.

Usage

1
2
3
4
5
6
7
hours(date)

## S3 method for class 'POSIXct'
hours(date)

## S3 method for class 'POSIXlt'
hours(date)

Arguments

date

POSIXct or POSIXlt vector

Value

A numeric vector.

Examples

1
2
3
now <- Sys.time()
hours(now)
hours(as.POSIXlt(now))

yapomif documentation built on May 2, 2019, 4:51 p.m.