Learn R Programming

squat (version 0.5.0)

-.qts: Operator - for qts Objects

Description

This function implements the pointwise subtraction between two quaternion time series.

Usage

# S3 method for qts
-(x, rhs)

Value

An object of class qts storing the subtraction of the two inputs.

Arguments

x

An object of class qts.

rhs

Either an object of class qts or a numeric value.

Examples

Run this code
vespa64$igp[[1]] - vespa64$igp[[2]]

Run the code above in your browser using DataLab