vcov-methods: Gets the variance-covariance matrix from a geex object

vcov,geex-methodR Documentation

Gets the variance-covariance matrix from a geex object

Description

Gets the variance-covariance matrix from a geex object

Usage

## S4 method for signature 'geex'
vcov(object)

## S4 method for signature 'geex_summary'
vcov(object)

Arguments

object

a geex object

Examples

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

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

vcov(results)

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