Description Usage Arguments Author(s) Examples
This function creates a table including output from common GLM models. formatGLMtable offers further formatting for direct inclusion in scientific publications
1 2 3 4 5 6 7 |
model |
Data needs to be entered that includes relevant variables for the baseline table |
intercept |
Should intercepts be included in the output? Default is TRUE. |
exclude.covariates |
Specify covariates that should be excluded from the output. |
fit.indices |
Should all fit indices from broom::glance be included? Default is FALSE. |
polr.assumptioncheck |
Only if ordinal logistic regression is used. This calculates a multinomial model using the nnet package with the same formula as the ordinal logistic regression model. If included, a p-value for the proportionality assumption will be included in the output under column name prop.test. Note that this code only works if variables aren't converted inside the fomula (i.e., factor(Y) ~ X does not work). |
Nils Kappelmann
1 2 3 | data(airquality)
model = lm(Temp ~ Wind, data = airquality)
getGLMTable(model = model)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.