Description Usage Arguments Details Value Examples
To re-calculate the coefficients and the standard deviation when changing the reference group.
1 |
fit |
Fitted model using glm, lm, glmnet or cv.glmnet |
var |
Vector of variable name in the model you plan to change reference |
oldrf |
Vector of old reference group name |
newrf |
Vector of new reference group name |
cl |
Column number of coefficient, only available when using glmnet or cv.glmnet |
Make sure the name of variables, name of old reference, and name of new reference much add quotation marks
New estimation of coefficient with statistics and P value (no statistics and P value for glmnet and cv.glmnet)
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.