Randomly 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, ...)

tf_sparsify(f, dropout = 0.5, ...)

Arguments

f

a tfd object

...

not used currently

dropout

how many values of f to drop, defaults to 50%.