Description Usage Arguments Value Examples
Runs a specified weighted regression and returns the coefficient of interest
1 |
data |
Dataset |
w |
Weights to use in the regression |
form |
Formula of desired regression model |
coef |
Coefficient of interest |
Weighted coefficient for specified coefficient
1 | ## Not run: coefFn(dat, w = w, form = as.formula(Y ~ X), coef = 'X')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.