qts {squat}R Documentation

QTS Class

Description

A collection of functions that implements the QTS class. It currently provides the as_qts() function for QTS coercion of tibble::tibbles and the is_qts() function for checking if an object is a QTS.

Usage

as_qts(x)

is_qts(x)

## S3 method for class 'qts'
format(x, digits = 5, ...)

Arguments

x

A tibble::tibble with columns time, w, x, y and z.

digits

An integer value specifying the number of digits to keep for printing. Defaults to 5L.

...

Further arguments passed to or from other methods.

Details

A quaternion time series (QTS) is stored as a tibble::tibble with 5 columns:

Value

An object of class qts.

Examples

qts1 <- vespa64$igp[[1]]
qts2 <- as_qts(qts1)
is_qts(qts1)
is_qts(qts2)

[Package squat version 0.3.0 Index]