Skip to content

Commit 3f2ecbd

Browse files
warning for vcov vectors and stars
1 parent 56d2e87 commit 3f2ecbd

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

R/modelsummary.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ globalVariables(c('.', 'term', 'part', 'estimate', 'conf.high', 'conf.low',
4949
#' * formula or list of formulas with the cluster variable(s) on the right-hand side (e.g., ~clusterid).
5050
#' * function or list of functions which return variance-covariance matrices with row and column names equal to the names of your coefficient estimates (e.g., `stats::vcov`, `sandwich::vcovHC`).
5151
#' * list of `length(models)` variance-covariance matrices with row and column names equal to the names of your coefficient estimates.
52-
#' * a list of length(models) vectors with names equal to the names of your coefficient estimates. See 'Examples' section below.
52+
#' * a list of length(models) vectors with names equal to the names of your coefficient estimates. See 'Examples' section below. Warning: since this list of vectors can include arbitrary strings or numbers, `modelsummary` cannot automatically calculate p values. The `stars` argument may thus use incorrect significance thresholds when `vcov` is a list of vectors.
5353
#' @param conf_level confidence level to use for confidence intervals
5454
#' @param coef_map character vector. Subset, rename, and reorder coefficients.
5555
#' Coefficients omitted from this vector are omitted from the table. The order

man/get_estimates.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/modelplot.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/modelsummary.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/modelsummary_wide.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/msummary.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)