Description Usage Arguments Value Method (fourier+, numeric) Method (bspline+, numeric) Method (fd+, numeric) Method (bifd+, numeric, numeric) Author(s)
This generic function provides methods to evaluate different types of functional data (basis function, univariate function, bivariate function) at specified argument values.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | feval(f, x, ...)
## For bifd+
# feval(f, x, y, ...)
## S4 method for signature ''fourier+',numeric'
feval(f, x, ...)
## S4 method for signature ''bspline+',numeric'
feval(f, x, ...)
## S4 method for signature ''fd+',numeric'
feval(f, x, ...)
## S4 method for signature ''bifd+',numeric'
feval(f, x, y, ...)
|
f |
An object of class |
x |
Values that |
y |
Only used when |
... |
Additional parameters, currently unused. |
See Method (...) sections for the actual implementations of this generic function.
f | - | A fourier+ object. |
x | - | A numeric vector. |
feval(f, x)
returns a matrix R
of
f@ncoef
rows and length(x)
columns, with R[i, j]
representing the value of the i
-th basis function evaluated on x[j]
.
f | - | A bspline+ object. |
x | - | A numeric vector. |
feval(f, x)
returns a matrix R
of
f@ncoef
rows and length(x)
columns, with R[i, j]
representing the value of the i
-th basis function evaluated on x[j]
.
f | - | An fd+ object. |
x | - | A numeric vector. |
feval(f, x)
returns a matrix R
of
n
rows and length(x)
columns where n
is the number of
function curves in f
. R[i, j]
equals the value of the i
-th function evaluated on x[j]
.
f | - | A bifd+ object. |
x, y | - | Numeric vectors. |
feval(f, x, y)
returns a matrix R
of
length(x)
rows and length(y)
columns, with R[i, j]
equal to the value of f(x[i], x[j])
.
Yixuan Qiu <http://statr.me/>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.