tf_jiggle | R Documentation |
tf
(more) irregularRandomly create some irregular functional data from regular ones.
jiggle it by randomly moving around its arg
-values. Only for tfd
.
sparsify it by setting (100*dropout
)% of its values to NA
.
tf_jiggle(f, amount = 0.4, ...)
tf_sparsify(f, dropout = 0.5, ...)
f |
a |
amount |
how far away from original grid points can the new grid points lie, at most (relative to original distance to neighboring grid points). Defaults to at most 40% (0.4) of the original grid distances. Must be lower than 0.5 |
... |
additional args for the returned |
dropout |
how many values of |
an (irregular) tfd
object
Other tidyfun RNG functions:
tf_rgp()
Other tidyfun RNG functions:
tf_rgp()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.