View source: R/datageneration.R
datageneration | R Documentation |
The datageneration()
function generates artificial ring-network data
by simulation.
The function is used in the package vignette.
datageneration(n)
n |
The sample size |
A list containing the outcome vector, the treatment vector, the instrumental vector, and the true instrumental exposure vector, and the symmetric binary adjacency matrix.
latenetwork::datageneration(n = 2000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.