View source: R/simulatr_functs.R
generate_glm_data_sim | R Documentation |
A lower-level function to generate GLM-EIV data.
generate_glm_data_sim(
intercept,
perturbation_coef,
perturbation_indicators,
fam,
covariate_matrix,
covariate_coefs,
offset,
n,
B
)
intercept |
intercept term |
perturbation_coef |
coefficient for perturbation |
perturbation_indicators |
an n times B matrix of perturbation indicators |
fam |
family object describing response |
covariate_matrix |
fixed matrix of covariates |
covariate_coefs |
coefficients for technical factors |
offset |
optional offset vector |
n |
the number of examples |
B |
the number of datasets to resample |
an n times B matrix of synthetic response data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.