stder: Extract the standard errors of estimated coefficients

View source: R/tools.R

stderR Documentation

Extract the standard errors of estimated coefficients

Description

The standard errors are a key element while presenting the results of a model. They are the second column of the table of coefficient and are used to compute the t/z-value. stder enables to retrieve easily the vector of standard errors, either from a fitted model or from a matrix of covariance

Usage

stder(x, vcov, subset = NA, fixed = FALSE, grep = NULL, invert = FALSE, ...)

## Default S3 method:
stder(
  x,
  vcov = NULL,
  subset = NA,
  fixed = FALSE,
  grep = NULL,
  invert = FALSE,
  ...
)

Arguments

x

a fitted model or a matrix of covariance

vcov

a function that computes a covariance matrix, or a character

subset, grep, fixed, invert

invert see 'micsr::select_coef

...

further arguments

Value

a numeric vector


micsr documentation built on June 8, 2025, 9:31 p.m.