Learn R Programming

eiPartialID (version 0.1.2)

generateDataExample4: Simulate data; Example 4 from Jiang et al. 2019.

Description

generateDataExample4 generates simulated data for example simulation 4 in Jiang et al. 2019.

Usage

generateDataExample4()

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 <- generateDataExample4()

# }

Run the code above in your browser using DataLab