powered by
Create n values or records based on the emperical (multivariate) distribution of y.
n
y
synthesize(y, n = NROW(y))
A data object of the same type and structure as y.
[vector|data.frame] data to synthesize.
[vector|data.frame]
[integer] Number of values or records to synthesize.
[integer]
Other synthesis: make_synthesizer()
make_synthesizer()
synthesize(cars$speed,10) synthesize(cars) synthesize(cars,25)
Run the code above in your browser using DataLab