Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

time_diff

Time difference between datetimes


Description

Compute time difference of two POSIXct objects

Usage

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

Automatic Forecasting Procedure

v1.0
MIT + file LICENSE
Authors
Sean Taylor [cre, aut], Ben Letham [aut]
Initial release
2021-03-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.