Description Usage Arguments Value Examples
View source: R/myLinearRegression.R
This function produces a ggpair plot using GGally pakage for the column Y vs the columns presented in in the matrix X. It will subset for the rows only presented on sub parameter. It will also produce the coefficients and p-value for the linear model fit.
1 | myLinearRegression(X = X, Y = Y, sub = sub)
|
X |
is a matrix. |
Y |
a vector representing the response. |
sub |
a vector representing the number of rows from the matrix. Number of sub should match Y. |
ggpair plot, coef
and p-value
.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.