Description Usage Arguments Value Method (fd+, numeric scalar) Method (fd+, fd+) Method (bifd+, numeric scalar) Method (bifd+, bifd+) Author(s)
Simple arithmetic operations of fd+
and bifd+
objects.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | ## S4 method for signature ''fd+',numeric'
e1 * e2
## S4 method for signature 'numeric,'fd+''
e1 * e2
## S4 method for signature ''fd+',numeric'
e1 / e2
## S4 method for signature ''fd+','fd+''
e1 + e2
## S4 method for signature ''fd+','fd+''
e1 - e2
## S4 method for signature ''bifd+',numeric'
e1 * e2
## S4 method for signature 'numeric,'bifd+''
e1 * e2
## S4 method for signature ''bifd+',numeric'
e1 / e2
## S4 method for signature ''bifd+','bifd+''
e1 + e2
## S4 method for signature ''bifd+','bifd+''
e1 - e2
|
e1,e2 |
Numeric scalars, or functional data objects of class
|
See Method (...) sections for the explanation of various types of results.
An fd+
object can be multiplied or divided by
a numeric scalar, which has the effect that all the functions in this object
will be scaled by this constant.
An fd+
object can be added to or subtracted from
another fd+
object, if they have the same basis,
and:
One of them contains only one function curve, so that this single function will be added to or subtracted from all the functions in the other object.
Or, they have the same number of functions, so that addition and subtraction will be done element-wisely.
A bifd+
object can be multiplied or divided by
a numeric scalar, and these operations will return the scaled bivariate
function object.
A bifd+
object can be added to or subtracted from
another bifd+
object, if they have the same bases.
Yixuan Qiu <http://statr.me/>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.