Skip to contents

Return a seasonal pattern \(F_S(t)\), a function of the form $$F_S(t) = c \left(1+\epsilon + \sin\left(\frac{2 \pi (t-\tau)}{365}\right)\right)^p$$ where \(c\) is a normalizing constant, and

  • \(\epsilon \geq 0\) or bottom

  • \(\tau\) or phase

  • \(p\) or pw

The algorithm sets the constant \(c\) or norm such that $$\int_0^{365} F_S(t) dt=c$$ where the default is norm=365.

Usage

# S3 method for class 'sin'
make_function(F_obj)

Arguments

F_obj

a function object, F_obj

Value

a function for seasonality

See also