Learn R Programming

card (version 0.1.0)

circ_rad: Convert Time to Radians

Description

Converts a time unit to radians given a known period. Allows for vectorization.

Usage

circ_rad(t, period)

Arguments

t

vector of time units

period

period of the time units (e.g. 24 hours)

Value

Vector converted into radians

Details

This function supports other centering functions to study time series.