View source: R/generate.data.R
This function is used to generate data for use in a simulation of the seamless trails with different endpoints
1 | generate.data(n1, mean.bin, mean.t, sigma, rho)
|
n1 |
n1 is the number of people recruited overall in the study |
mean.bin |
Mean.bin is the mean of the binary endpoint |
mean.t |
Mean.t is the mean of the normally distributed endpoint |
sigma |
Sigma is the standard deviation of the endpoints, which is assumed to be equal |
rho |
Rho is the correlation between the endpoints |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.