scale.TSdata
scale.TSdata
Description
Scale data by a given factor.
Usage
Required Arguments
- data
-
An object of class TSdata.
- scale
-
A list with two matrices or vectors, named input and output,
giving the multiplication factor for inputs and outputs.
Vectors are treated as diagonal matrices.
input.data(scale) can be NULL if no transformation is to be applied (or
the data has no input)
Value
The resulting data is different from
the original in proportion to scale. ie. if S and T are output and input
scaling matrices then
y'(t) = S y(t) where y' is the new output
u'(t) = S u(t) where u' is the new input
See Also
Examples
data <- scale(data, scalefactors)
return to Table of Contents