R/f_new_rendoivreg.R

Defines functions new_rendo_ivreg

# add class rendo.ivre to regular ivreg object to
#   catch when the user calls summary() and forward to ivreg's summary () with diagnostic=TRUE
new_rendo_ivreg <- function(F.formula, res.ivreg, call){

  class(res.ivreg)     <- c("rendo.ivreg",class(res.ivreg))
  res.ivreg$call       <- call
  return(res.ivreg)
}

Try the REndo package in your browser

Any scripts or data that you put into this service are public.

REndo documentation built on July 3, 2024, 1:06 a.m.