diftm: Compute delta using calendar date and time

View source: R/collectedfunctions.R

diftmR Documentation

Compute delta using calendar date and time

Description

This function allows you to compute the delta (time1-time2).

Usage

diftm(
  tm1,
  tm2,
  unit = "hour",
  form1 = "%Y-%m-%d %H:%M",
  form2 = "%Y-%m-%d %H:%M",
  tz = "GMT"
)

Arguments

tm1

data frame

tm2

subject id

form1

date/time format 1

form2

date/time format 2


leonpheng/lhtool2 documentation built on April 13, 2025, 5:42 p.m.