Skip to content

Commit

Permalink
modelsummary via tinytable instead of gt now
Browse files Browse the repository at this point in the history
  • Loading branch information
zeileis committed Apr 20, 2024
1 parent 29275d6 commit 234b00e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: ivreg
Title: Instrumental-Variables Regression by '2SLS', '2SM', or '2SMM', with Diagnostics
Version: 0.6-3
Date: 2023-06-23
Date: 2024-04-20
Authors@R: c(person(given = "John", family = "Fox", role = "aut", email = "[email protected]", comment = c(ORCID = "0000-0002-1196-8012")),
person(given = "Christian", family = "Kleiber", role = "aut", email = "[email protected]", comment = c(ORCID = "0000-0002-6781-4733")),
person(given = "Achim", family = "Zeileis", role = c("aut", "cre"), email = "[email protected]", comment = c(ORCID = "0000-0003-0918-3766")),
Expand Down
4 changes: 3 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
* Enhanced `predict.ivreg()` method, which optionally provides standard errors,
confidence intervals, and prediction intervals for predicted values.

* The `gt` rather than the `kableExtra` package (recently not actively maintained)
* The `tinytable` rather than the `kableExtra` package (recently not actively maintained)
is used now for the `modelsummary` table shown in the package vignette (contributed
by Vincent Arel-Bundock).

* Further small improvements in the package vignettes.

* Improve non-anchored links in manual pages (prompted by CRAN).


# Version 0.6-2

Expand Down
7 changes: 3 additions & 4 deletions vignettes/ivreg.Rmd
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
---
title: "ivreg: Two-Stage Least-Squares Regression with Diagnostics"
author: "John Fox, Christian Kleiber, Achim Zeileis"
date: "last modified: 2023-05-16"
date: "last modified: 2024-04-20"
output:
rmarkdown::html_vignette:
highlight: monochrome
toc: true
vignette: >
%\VignetteIndexEntry{ivreg: Two-Stage Least-Squares Regression with Diagnostics}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteDepends{ivreg,car,effects,sandwich,modelsummary,gt}
%\VignetteDepends{ivreg,car,effects,sandwich,modelsummary}
%\VignetteKeywords{two-stage least squares, instrumental variables, diagnostics}
%\VignettePackage{ivreg}
%\VignetteEncoding{UTF-8}
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE, fig.height=4, fig.width=4)
options(modelsummary_factory_default = "gt")
```

## Overview
Expand Down Expand Up @@ -162,7 +161,7 @@ out more clearly when showing coefficients and standard errors side by side, e.g
`compareCoefs()` function from the **car** package or the `msummary()` function from the
[**modelsummary**](https://CRAN.R-project.org/package=modelsummary) package:

```{r modelsummary}
```{r modelsummary, message=FALSE}
library("modelsummary")
m_list <- list(OLS = m_ols, IV = m_iv)
msummary(m_list)
Expand Down

0 comments on commit 234b00e

Please sign in to comment.