grab_bread-methods: Grabs the .A (bread matrix) slot

grab_breadR Documentation

Grabs the .A (bread matrix) slot

Description

Grabs the .A (bread matrix) slot

Usage

grab_bread(object)

## S4 method for signature 'sandwich_components'
grab_bread(object)

Arguments

object

a sandwich_components object

Examples

myee <- function(data){
 function(theta){
   c(data$Y1 - theta[1],
   (data$Y1 - theta[1])^2 - theta[2])
  }
}

results <- m_estimate(
   estFUN = myee,
   data = geexex,
   root_control = setup_root_control(start = c(1,1)))

grab_bread(results@sandwich_components)

geex documentation built on Aug. 8, 2022, 5:05 p.m.