time_diff: Time difference between datetimes

Description Usage Arguments Value

View source: R/prophet.R

Description

Compute time difference of two POSIXct objects

Usage

1
time_diff(ds1, ds2, units = "days")

Arguments

ds1

POSIXct object

ds2

POSIXct object

units

string units of difference, e.g. 'days' or 'secs'.

Value

numeric time difference


prophet documentation built on March 30, 2021, 5:05 p.m.