Months: Extract numeric months of the year from a Date, POSIXct or...

Description Usage Arguments Value Examples

View source: R/Months.R

Description

Extract numeric months of the year from a Date, POSIXct or POSIXlt vector.

Usage

1
Months(x, string = TRUE, abbreviate = FALSE)

Arguments

x

Date, POSIXct or POSIXlt vector

string

Logical, if TRUE months string is returned, otherwise numeric

abbreviate

logical. Should the months in string format be abbreviated?

Value

A vector with extracted months.

Examples

1
2
3
4
5
6
7
8

lbraglia/yapomif documentation built on May 20, 2019, 11:26 p.m.