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

View source: R/texreg.R

overrideR Documentation

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

matrixreg, plotreg, texreg


texreg documentation built on Sept. 11, 2024, 6:41 p.m.