Learn R Programming

grandR (version 0.2.6)

Semantics.time: Semantics for time columns

Description

Defines additional semantics for columns representing temporal dimensions

Usage

Semantics.time(s, name)

Value

a data frame with a single numeric column, where <x>h from s is replaced by x, <x>min is replaced by x/60, and no4sU is replaced by 0

Arguments

s

original column

name

the column name