circ_rad {card}R Documentation

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)

Details

This function supports other centering functions to study time series.

Value

Vector converted into radians


[Package card version 0.1.0 Index]