Learn R Programming

texreg (version 1.39.4)

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
)

Value

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

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.

Author

Philip Leifeld

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.

See Also

matrixreg, plotreg, texreg