| sim_data | R Documentation | 
A simple function to simulate example data.
sim_data(n, p)
| n | number of simulated observations | 
| p | number of simulated variables | 
toy dataset used for demonstrating the methods with outcome y, treatment a, covariates x.1, x.2, and surrogates s.1, s.2, ...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.