A bunch of methods & utilities that do what they say: extract or set the respective attributes of a tf-object.

tf_arg(f)

tf_evaluations(f)

tf_count(f)

tf_domain(f)

tf_evaluator(f, forget = FALSE)

tf_basis(f, as_tfd = FALSE, forget = FALSE)

tf_evaluator(x) <- value

arg(x) <- value

# S3 method for tfd_irreg
arg(x) <- value

# S3 method for tfd_reg
arg(x) <- value

tf_resolution(f)

# 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_irreg(x)

is_tfd(x)

is_tfb(x)

Arguments

f

an tf object

forget

extract the evaluator or basis-creating function without its cache? See memoise::forget(). Defaults to FALSE.

as_tfd

should the basis be returned as a tfd evaluated on tf_arg(f)? Defaults to FALSE.

x

an tf object

value

for evaluator<-: (bare or quoted) name of a function that can be used to interpolate an tfd. Needs to accept vector arguments x, arg, evaluations and return evaluations of the function defined by arg, evaluations at x for arg<-: a (list of) new arg-values

object

as usual

...

dots