R/utils.R
pr_harmonic.Rd
This function is for use in models to create a circular predictor
pr_harmonic(theta, k = 4)
Paramter to model in radians
degrees of freedom
A harmonic function
theta = 2 k = 1 df <- pr_harmonic(theta = 2, k = 1)