These are used to redefine or restrict the domain of tf objects.
Usage
tf_zoom(f, begin, end, ...)
# S3 method for tfd
tf_zoom(f, begin = tf_domain(f)[1], end = tf_domain(f)[2], ...)
# S3 method for tfb
tf_zoom(f, begin = tf_domain(f)[1], end = tf_domain(f)[2], ...)
# S3 method for tfb_fpc
tf_zoom(f, begin = tf_domain(f)[1], end = tf_domain(f)[2], ...)
Value
an object like f on a new domain (potentially).
Note that regular functional data and functions in basis representation will
be turned into irregular tfd-objects iff begin or end are not scalar.
Arguments
f
a tf-object
begin
numeric vector of length 1 or length(f).
Defaults to the lower limit of the domain of f.
end
numeric vector of length 1 or length(f).
Defaults to the upper limit of the domain of f.
...
not used
See Also
Other tidyfun utility functions:
in_range(),
tf_arg()