| tf_arg | R Documentation |
tf-objectsA bunch of methods & utilities that do what they say: get or set the
respective attributes of a tf-object.
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 replacement method for class 'tfd_irreg'
tf_arg(x) <- value
## S3 replacement method for class 'tfd_reg'
tf_arg(x) <- value
## S3 replacement method for class 'tfb'
tf_arg(x) <- value
## S3 method for class 'tfb'
coef(object, ...)
## S3 method for class 'tf'
rev(x)
## S3 method for class 'tf'
is.na(x)
## S3 method for class '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)
f |
an |
x |
an |
value |
for |
as_tfd |
should the basis be returned as a |
object |
as usual |
... |
dots |
either the respective attribute or, for setters (assignment functions), the input object with modified properties.
Other tidyfun utility functions:
in_range(),
tf_zoom()
x <- tf_rgp(3)
tf_arg(x)
tf_evaluations(x)
tf_count(x)
tf_domain(x)
tf_evaluator(x)
tf_evaluate(x, 0.25)
tf_evaluator(x) <- tf_approx_none
tf_evaluate(x, 0.25)
c(is_tf(x), is_tfd(x), is_reg(x), is_irreg(x))
xb <- tfb(x, k = 4, penalized = FALSE, verbose = FALSE)
tf_basis(xb)
tf_basis(xb)(c(0, .1, .2))
c(is_tfb(xb), is_tfb_spline(xb), is_tfb_fpc(xb))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.