R/set_residPart_kin.R

setMethod("residPart", signature(model = "kin"), function(model,
                                   group, multimodel, thetalist,
                                   clpindepX, finished, returnX, 
                                   rawtheta) {
  if(returnX) 
    thetalist <-  getThetaCl(rawtheta, multimodel)
  concen <- getKinConcen(group = group, multimodel = multimodel, 
                         thetalist = thetalist, clpindepX = clpindepX, 
                         finished = finished)
  rlist <- attr(concen, "rlist")
  psi <- attr(concen, "psi")
  retval <- getResidRet(concen, psi, rlist, returnX, finished, 
                        multimodel@nnls, multimodel@algorithm,
                        multimodel@nnlscrit, group) 
  retval 
})

Try the TIMP package in your browser

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

TIMP documentation built on May 2, 2019, 5:55 p.m.