synthesize {synthesizer}R Documentation

Create synthetic version of a dataset

Description

Create n values or records based on the emperical (multivariate) distribution of y.

Usage

synthesize(y, n = NROW(y))

Arguments

y

[vector|data.frame] data to synthesize.

n

[integer] Number of values or records to synthesize.

See Also

Other synthesis: make_synthesizer()

Examples

synthesize(cars$speed,10)
synthesize(cars)
synthesize(cars,25)


[Package synthesizer version 0.2.0 Index]