normalize {squat}R Documentation

QTS Normalization

Description

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

Usage

normalize(x)

## S3 method for class 'qts'
normalize(x)

## S3 method for class 'qts_sample'
normalize(x)

Arguments

x

An object of class qts or qts_sample.

Value

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

Examples

normalize(vespa64$igp[[1]])
normalize(vespa64$igp)

[Package squat version 0.3.0 Index]