Learn R Programming

tidysynthesis (version 0.1.2)

start_resample: Specify a resampling scheme for start_data

Description

Specify a resampling scheme for start_data

Usage

start_resample(
  start_data,
  n = NULL,
  inv_noise_scale = NULL,
  support = c("observed", "all")
)

Value

A start_method object for resampling starting data

Arguments

start_data

A data.frame

n

An optional integer sample size. If unspecified, n = nrow(start_data)

inv_noise_scale

An optional parameter to set randomized noise to the proportions of records with different start_data characteristics. Corresponds to a privacy loss budget under epsilon differential privacy.

support

A string that specifies the method of resampling from the start_data domain.

Examples

Run this code
 
 
start_method(
  start_func = start_resample, n = 1000
)
 

Run the code above in your browser using DataLab