Learn R Programming

eiPartialID (version 0.1.2)

generateDataExample5: Simulate data; Example 5 from Jiang et al. 2019.

Description

generateDataExample5 generates simulated data for example simulation 5 in Jiang et al. 2019.

Usage

generateDataExample5()

Arguments

Value

List object with the following attributes: x (proportion of X in each geographic unit); t (proportion of T in each geographic unit); n (population of each geographic unit); bd (the true district B);

Examples

Run this code
# NOT RUN {
generatedData <- generateDataExample5()

# }

Run the code above in your browser using DataLab