R/atyps.R

Defines functions atyps

Documented in atyps

atyps <- function(nlfited){
		v <- attr(nlfited@predictor,"gradient")
		hs <- attr(nlfited@predictor,"hessian")
		res <- residuals(nlfited)
		outliers1 <- nlout(nlfited)
		jlevmat <- jaclev(v,hs,res)
		jlev <- diag(jlevmat)
		r1 <- list(jlev=jlev)
		r2 <- c(r1,outliers1)
		result <- as.list(r2)
		return(result)
}

Try the nlr package in your browser

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

nlr documentation built on July 31, 2019, 5:09 p.m.