sampleBivariate: Bivariate Sampling of variables throughout a dataset

Description Usage Arguments Value Examples

View source: R/sampleBivariate.R

Description

Bivariate Sampling of variables throughout a dataset

Usage

1
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

1

CDCgov/DemographySpawnR documentation built on Aug. 5, 2020, 7:41 p.m.