Estimates for an Object of Class essandwich
Source: R/betaSandwich-es-sandwich-methods.R
coef.essandwich.RdEstimates for an Object of Class essandwich
Usage
# S3 method for class 'essandwich'
coef(object, ...)Examples
# Data ---------------------------------------------------------------------
data("nas1982", package = "betaSandwich")
# Fit Model in lm ----------------------------------------------------------
object <- stats::lm(
formula = QUALITY ~ NARTIC + PCTGRT + PCTSUPP,
data = nas1982
)
# BetaHC -------------------------------------------------------------------
std <- BetaHC(object = object)
# RSqSandwich --------------------------------------------------------------
out <- RSqSandwich(object = std)
## Methods -----------------------------------------------------------------
coef(object = out)
#> rsq adj
#> 0.8045263 0.7905638