Skip to content

Function format.time #116

@discoleo

Description

@discoleo

Function format.time & Format for time

A time variable may be relevant in pharmacology studies, in hormone assays and in basic research. A format.time function may be useful in such instances.

A basic version of such a function is available on my GitHub page:
https://github.com/discoleo/R/blob/master/Stat/Tools.DateTime.R

Notes:

  • the convenience argument collapse is useful to format a time range: its applicability may depend where the function is used;
  • Documentation for format_value: does NOT provide details about the formats; it seems that they are described only in the vignette;
  • using the generic name format.values (or format.value) would enable the search using methods(format);

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsmeTracks changes for the sme board

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions