Description Usage Arguments Value

View source: R/regress_select.R

Performs linear regression using Ordinary Least Squares (or Weighted Least Squares when weights are specified)

1 |

`formula` |
Model formula using specified columns of DataFrame 'data'. Can include interactions and select no intercept with -1 |

`data` |
Dataframe from which model variables are pulled. |

`weights` |
Vector of weights to be used in Weighted Least Squares regression estimates. Default = NULL. |

List of coefficients, estimate standard errors, test statistics, and p-values

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.