Description Usage Arguments Value
View source: R/myLinearRegression.R
Creates a scatterplot of each pair of covariates. Also creates a linear regression of Y on X. Written by Sara Khorramshahgol
1 | myLinearRegression(Y, X, sub)
|
X: |
a matrix of covariates |
Y: |
a vector of outcomes |
sub: |
a list of subjects (i.e. a set of integers corresponding to rows in X) |
coef: a set of coefficients from the linear regression of Y on X
pvals: the set of corrresponding p-values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.