Learn R Programming

Rfssa (version 3.1.0)

-.funts: Subtract `funts` Objects or a `funts` Object and a Scalar

Description

This function allows subtraction between two `funts` (functional time series) objects or between a `funts` object and a scalar. It returns the resulting difference.

Usage

# S3 method for funts
-(obj1, obj2 = NULL)

Arguments

obj1

an object of class `funts`, representing the first `funts` object.

obj2

an object of class `funts` or a scalar.

See Also

funts

Examples

Run this code
if (FALSE) {
data("Callcenter")
y <- Callcenter
print(1 - y)
}

Run the code above in your browser using DataLab