Learn R Programming

GENEAclassify (version 1.5.3)

radians: Extract rotation time series in radians

Description

Extract data relating to the rotation component.

Usage

radians(x)

Value

The degrees (rotation) data.

Arguments

x

data output from get.intervals

Details

Called by dataImport. Note: the "+ 1" has been removed from the original implementation.

Examples

Run this code
   d1 <- matrix(c(100, 101, -0.79, -0.86, -0.17, -0.14, 0.53, 0.46), 
        nrow = 2, ncol = 4)
   colnames(d1) <- c("timestamp", "x", "y", "z")
   degrees(x = d1)

Run the code above in your browser using DataLab