This function creates a nice looking regression table from a glm.nb object
1 2 3 |
df |
Dataframe. |
fit |
glm.nb model object. |
intercept |
If TRUE the intercept will be included in the table. Default is FALSE. |
ref |
If TRUE, the reference category gets its own line (left blank). Default is FALSE. |
labels |
Covariate labels - default is NA (variable names are used). |
blanks |
If TRUE, blank lines will be inserted separating covariates - default is FALSE. |
overallp |
If TRUE, a likelihood ratio test pvalue (using drop1 Chisq tests) will be calculated for each variable. Default is TRUE. |
est.dec |
Number of decimal places for estimates - default is 2. |
ci.dec |
Number of decimal places for CI - default is 2. |
pval.dec |
Number of decimal places for pvalues - default is 3. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.