Synthesis with a fast implementation of random forests
Generates univariate synthetic data using a fast implementation of
random forests. It uses ranger
function
from the ranger package.
syn.ranger(y, x, xp, smoothing = "", proper = FALSE, ...)
y |
an original data vector of length |
x |
a matrix ( |
xp |
a matrix ( |
smoothing |
smoothing method for continuous variables. |
proper |
... |
... |
additional parameters passed to
|
...
A list with two components:
res |
a vector of length |
fit |
the model fitted to the observed data that was used to produce synthetic values. |
...
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.