Skip to contents

Note without the floor functionality parameters can be more efficiently estimated with `lm()`.

Usage

fit_fourier(rainfall, t, floor = 0.001)

Arguments

rainfall

Vector of rainfall

t

Vector of days (between 1 and 365)

floor

Lower bound on rainfall fit

Value

Model fit