grab_ee_list {geex}R Documentation

Gets the .ee_i (observed estimating function) slot

Description

Gets the .ee_i (observed estimating function) slot

Usage

grab_ee_list(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_ee_list(results@sandwich_components)

[Package geex version 1.1.1 Index]