Skip to contents

This function is for use in models to create a circular predictor

Usage

harmonic(theta, k = 4)

Arguments

theta

Paramter to model in radians

k

degrees of freedom

Value

A harmonic function

Examples

theta = 2
k = 1
df <- harmonic(theta = 2, k = 1)