Bivariate Sampling of variables throughout a dataset

sampleBivariate(inputData, n, listVars, dateFormat = "%Y%m%d")

Arguments

inputData

dataset that you want to sample from

n

number of rows in output/simulated dataset

listVars

dataframe of variable pairs that are or might be associated

Value

A dataset with n rows that is distributionally similar to input dataset

Examples

sampleBivariate()
#> Error in matrix(nrow = n, ncol = ncol(inputData)): argument "n" is missing, with no default