Description Usage Arguments Details Value Examples
Simulates data to be used as an example for partialOR.
1 | simData(n=50, m=2, rr=1.5, rseed = 123)
|
n |
number of independent observations |
m |
number of covariates |
rr |
common Odds Ratio |
rseed |
seed for the random number generator (default 123) |
The covariates are i.i.d. N(0,1) variables.
Data frame with n columns and m+2 variables x,y,z1,...,zm; x, y are 0/1 binary variables and z's are the covariates.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.