| tf_rebase | R Documentation |
tf-objectApply the representation of one tf-object to another; i.e. re-express it in
the other's basis, on its grid, etc.
Useful for making different functional data objects compatible so they can
be combined, compared or computed with.
tf_rebase(object, basis_from, arg = tf_arg(basis_from), ...)
## S3 method for class 'tfd'
tf_rebase(object, basis_from, arg = tf_arg(basis_from), ...)
## S3 method for class 'tfb'
tf_rebase(object, basis_from, arg = tf_arg(basis_from), ...)
object |
a |
basis_from |
the |
arg |
optional new |
... |
forwarded to the |
This uses double dispatch (S3) internally, so the methods defined below are
themselves generics for methods tf_rebase.tfd.tfd,
tf_rebase.tfd.tfb_spline, tf_rebase.tfd.tfb_fpc, tf_rebase.tfb.tfd,
tf_rebase.tfb.tfb that dispatch on object_from.
a tf-vector containing the data of object in the same representation
as basis_from (potentially modified by the arguments given in ...).
tf_rebase(tfd): re-express a tfd-vector in the same representation as
some other tf-vector
tf_rebase(tfb): re-express a tfb-vector in the same representation as
some other tf-vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.