R/weights.cubinf.R

Defines functions weights.cubinf

Documented in weights.cubinf

weights.cubinf <-
function(object)
{
 res <- object$y -object$ci - object$fitted.values  
 z <- pmin(1,object$ai/abs(res)) 
 class(z) <- "cubinf.i"
 z}

Try the robcbi package in your browser

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

robcbi documentation built on Aug. 22, 2023, 1:06 a.m.