Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

override

Replace coefs, SEs, p-values, and/or CIs by custom values if provided


Description

Replace coefs, SEs, p-values, and/or CIs by custom values if provided.

Usage

override(
  models,
  override.coef = 0,
  override.se = 0,
  override.pvalues = 0,
  override.ci.low = 0,
  override.ci.up = 0
)

Arguments

models

A list of texreg objects (e.g., as returned by get.data).

override.coef

Replacement list of coefficient vectors.

override.se

Replacement list of standard error vectors

override.pvalues

Replacement list of p-value vectors.

override.ci.low

Replacement list of lower-bound confidence interval values.

override.ci.up

Replacement list of upper-bound confidence interval values.

Details

This function replaces coefficients, standard errors, p-values, and/or confidence intervals in a list of texreg objects. It is used by the matrixreg and plotreg functions. The new values must be provided as lists of equal length as the list of models, with each element representing a vector of replacement values. If the arguments have value 0, the original values are retained. More details are found in the documentation of the matrixreg function.

Value

Same list as input list of models, but with replaced values.

Author(s)

Philip Leifeld

See Also


texreg

Conversion of R Regression Output to LaTeX or HTML Tables

v1.37.5
GPL-3
Authors
Philip Leifeld [aut, cre], Claudia Zucca [ctb]
Initial release
2020-06-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.