convert.time: convert.time

View source: R/convert.time.R

convert.timeR Documentation

convert.time

Description

extends time display from package chron to use h:m:s for > 1 day times.

Usage

convert.time(x, format = NULL)

Arguments

x

Object to process. For convert.time, must be numeric.

format

A character string indicating the form of output. See strptime for details. If NULL, will be automatically chosen.

Details

convert.time converts numerics to GRtime objects. The format argument allows a format string to be attached specifying the default format to display in. as.GRtime is a wrapper to convert.time, that when supplied with character input, coerces the value first to numeric using parse.time.


GENEAread documentation built on June 22, 2024, 12:16 p.m.