Fast computation of simple regression slopes for each predictor represented by a column in a matrix

1 | ```
mfastLm_cpp(y, x, addintercept)
``` |

`y` |
A vector of outcomes. |

`x` |
A matrix of regressor variables. Must have the same number of rows as the length of y. |

`addintercept` |
A logical that determines if the intercept should be included in all analyses (TRUE) or not (FALSE) |

A data frame with two variables: coefficients and stderr that gives the slope estimate and corresponding standard error for each column in x.

Claus Ekstrom <claus@rprimer.dk>

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.