This function creates a nice looking regression table from a lmer/glmer object

1 2 3 4 |

`df` |
Dataframe. |

`fit` |
GLMER binomial model object. |

`covs` |
Vector of covariate names in model. |

`family` |
Model family in quotes ("guassian", "binomial", "poisson"). |

`exp` |
Option to exponentiate coefficients and CI's. Default is NA (exp for logistic and poisson families only). |

`estname` |
Option to override estimate column name. Default is NA. |

`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. |

`htmlTable` |
Whether to use htmlTable package to display table (instead of xtable). Default = FALSE. |

`color` |
Hex color to use for htmlTable output. Default = "#EEEEEE" (grey). |

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.