Learn R Programming

tabplot (version 0.10-1)

datetime2fac: Function that creates a factor vector out of a date-time vector.

Description

Function that creates a factor vector out of a date-time vector.

Usage

datetime2fac(p)

Arguments

p
date-time vector

Value

  • A factor vector

Details

Creates a factor vector out of a date-time vector that an inherits from class "POSIXt" or "Date".