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

Description Usage Arguments Examples

Description

Gets the .A_i (list of bread matrices) slot

Usage

1
2
3
4
grab_bread_list(object)

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

Arguments

object

a sandwich_components object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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))

geex documentation built on Sept. 24, 2018, 1:04 a.m.