convertRad {activityGCMM}R Documentation

Convert Radians Scale

Description

Converts scale of observations in radians to (0,2pi) or (-pi,pi) or hours

Usage

convertRad(x, to)

Arguments

x

Vector of observations in radians

to

Character vector to specify conversion, either "2pi" for (0, 2pi), "pi" for (-pi, pi), or "hours" for hours

Value

Returns vector of observations on desired scale

Examples

Rad2<-convertRad(redfoxsample$Radians,to="2pi")

[Package activityGCMM version 1.1.1 Index]