Learn R Programming

geex (version 1.1.1)

grab_bread_list: Gets the .A_i (list of bread matrices) slot

Description

Gets the .A_i (list of bread matrices) slot

Usage

grab_bread_list(object)

# S4 method for sandwich_components grab_bread_list(object)

Arguments

object

a sandwich_components object

Examples

Run this code
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)))

head(grab_bread_list(results@sandwich_components))

Run the code above in your browser using DataLab