period: Recode a date vector into periods

Description Usage Arguments Value

View source: R/format.R

Description

Recode a date vector into periods

Usage

1
period(date, period = c("2005-05-01", "2009-12-01"))

Arguments

date

A timestamp vector

period

The breaks witch date sould be cut with

Value

a numeric vector with the periods replacing the date


WikiSocio documentation built on May 29, 2017, 10:42 p.m.

Related to period in WikiSocio...