wp_month: Function to extract the month

Description Usage Arguments Methods (by class)

View source: R/wp_date_functions.r

Description

Function to extract the month from a timestamp of e.g. class POSIXlt, POSIXct, Date, or character. If the option is of type character it should be in the form of yyyy-mm-dd.

Usage

1
2
3
4
5
6
7
wp_month(timestamp)

## S3 method for class 'POSIXlt'
wp_month(timestamp)

## Default S3 method:
wp_month(timestamp)

Arguments

timestamp

Some sort of timestamp e.g. of class POSIXlt, POSIXct, Date, or character. If the option is of type character it should be in the form of yyyy-mm-dd.

Methods (by class)


petermeissner/wikipediatrend documentation built on June 7, 2020, 10:26 p.m.