A bunch of methods & utilities that do what they say: get or set the
respective attributes of a tf-object.
Usage
tf_arg(f)
tf_evaluations(f)
tf_count(f)
tf_domain(f)
tf_domain(x) <- value
tf_evaluator(f)
tf_evaluator(x) <- value
tf_basis(f, as_tfd = FALSE)
tf_arg(x) <- value
# S3 method for tfd_irreg
tf_arg(x) <- value
# S3 method for tfd_reg
tf_arg(x) <- value
# S3 method for tfb
tf_arg(x) <- value
# S3 method for tfb
coef(object, ...)
# S3 method for tf
rev(x)
# S3 method for tf
is.na(x)
# S3 method for tfd_irreg
is.na(x)
is_tf(x)
is_tfd(x)
is_reg(x)
is_tfd_reg(x)
is_irreg(x)
is_tfd_irreg(x)
is_tfb(x)
is_tfb_spline(x)
is_tfb_fpc(x)Arguments
- f
an
tfobject- x
an
tfobject- value
for
tf_evaluator<-: (bare or quoted) name of a function that can be used to interpolate antfd. Needs to accept vector argumentsx,arg,evaluationsand return evaluations of the function defined byarg,evaluationsatx.
fortf_arg<-: (list of) newarg-values.
fortf_domain<-: sorted numeric vector with the 2 new endpoints of the domain.- as_tfd
should the basis be returned as a
tfd-vector evaluated ontf_arg(f)? Defaults toFALSE, which returns the matrix of basis functions (columns) evaluated ontf_arg(f)(rows).- object
as usual
- ...
dots