fdClass
times-.fdClass.Rd
Performs element-wise multiplication between a scalar and a fdClass object. All functional data attributes are preserved in the result.
# S3 method for class 'fdClass' e1 * e2
A scalar numeric value or a fdClass object.
A fdClass object or a scalar numeric value.
A new fdClass object with elements scaled by the scalar value.
fd <- fdClass(matrix(1:20, 10, 2), Smoothing_parameter = 0.1) scaled_fd <- 3 * fd