Learn R Programming

squat (version 0.5.0)

normalize: QTS Normalization

Description

This function ensures that all quaternions in the time series are unit quaternions.

Usage

normalize(x)

# S3 method for qts normalize(x)

# S3 method for qts_sample normalize(x)

Value

An object of the same class as the input argument x in which quaternions are unit quaternions.

Arguments

x

An object of class qts or qts_sample.

Examples

Run this code
normalize(vespa64$igp[[1]])
normalize(vespa64$igp)

Run the code above in your browser using DataLab