R/individ.R

Defines functions individ

Documented in individ

#*****************************************************************************************************
individ <- function(hessian)
{
  n <- length(hessian[, 1, 1])
  p <- length(hessian[1, 1, ])
  sp <- matrix(hessian[, 1, 1], ncol=1)
  for (i in 2:p)
  {
    sp <- cbind(sp, hessian[, i, 1:i])
  }
  return(sp)
}

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.