momoTrend: A trend effect from a date

Description Usage Arguments Value

Description

Turns a Date variable into a trend suitable for modeling. Currently only linear trend is available

Usage

1
momoTrend(date, origin = NULL)

Arguments

date

a Date variable

origin

origin date, defaults to the midpoint

Value

a numeric vector with values between -1 and 1


thl-mjv/momoStan documentation built on May 3, 2019, 2:57 p.m.