R/nlme_fit_gen.R

Defines functions ACF.nlmixr_nlme predict.nlmixr_nlme augPred.nlmixr_nlme

## This file is generated by build/refresh.R
##' @importFrom nlme augPred
##' @export
augPred.nlmixr_nlme <- function(object, ...) {
  nlmixr::nlmeModList(object$env)
  on.exit({
    nlmixr::nlmeModList(new.env(parent = emptyenv()))
  })
  tmp <- object
  class(tmp) <- class(tmp)[-1]
  augPred(tmp, ...)
}
##' @importFrom stats predict
##' @export
predict.nlmixr_nlme <- function(object, ...) {
  nlmixr::nlmeModList(object$env)
  on.exit({
    nlmixr::nlmeModList(new.env(parent = emptyenv()))
  })
  tmp <- object
  class(tmp) <- class(tmp)[-1]
  predict(tmp, ...)
}
##' @importFrom nlme ACF
##' @export
ACF.nlmixr_nlme <- function(object, ...) {
  nlmixr::nlmeModList(object$env)
  on.exit({
    nlmixr::nlmeModList(new.env(parent = emptyenv()))
  })
  tmp <- object
  class(tmp) <- class(tmp)[-1]
  ACF(tmp, ...)
}

Try the nlmixr package in your browser

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

nlmixr documentation built on March 27, 2022, 5:05 p.m.