Description Usage Arguments See Also Examples
It is an iterative process for minimising the loss until a tolerance value.
na_polish_auto()
returns the polished data.
na_polish_autotrace()
returns a tibble for documenting the steps and metrics.
1 2 3 4 5 | na_polish_auto(data, cutoff, tol = 0.1, funs = na_polish_funs(),
quiet = FALSE)
na_polish_autotrace(data, cutoff, tol = 0.1, funs = na_polish_funs(),
quiet = FALSE)
|
data |
A tsibble. |
cutoff |
Numerics of length 1 or length of |
tol |
A tolerance value close or equal to zero as stopping rule. It
compares to the loss defined as |
funs |
A list of |
quiet |
If |
Other missing value polishing functions: na_polish_measures
,
na_polish_metrics
1 2 3 4 5 6 7 8 9 | ## Not run:
wdi_ts <- tsibble::as_tsibble(wdi, key = country_code, index = year)
wdi_after <- na_polish_auto(wdi_ts, cutoff = .8)
na_polish_metrics(wdi_ts, wdi_after)
# Trace down `na_polish_auto()`
na_polish_autotrace(wdi_ts, cutoff = .8, quiet = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.