Description Usage Arguments Value
View source: R/simLinearResponse.R
Function to simulate response data as a linear function of predictors
1 | simLinearResponse(X, W)
|
X |
predictor data |
W |
covariate data |
list with components
Y: response data
h: evaluation of exposure-response function for each individual
active: main effects selected to be in the exposure-response function
active.ints: interactions selected to be in the exposure-response function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.