lmrse
fits a linear regression model with cluster robust
standard errors for all markers.
Arguments
- formula
containing the marker matrix as the response and the exposure and covariates as the dependent terms
- cluster
clustering variable
- data
an optional
data.frame
which contains the covariates specified in the formula
Value
lmrse
returns a list
of coefficients, standard errors and
p-values matrices:
- coef
a matrix of regression coefficients
- se
a matrix of standard errors
- p
a matrix of p-values
Author
James Staley jrstaley95@gmail.com