R/pprfns.R

Defines functions ppr_funs

Documented in ppr_funs

ppr_funs <- function(obj) {
  p <- obj$p
  q <- obj$q
  sm <- obj$smod
  n <- sm[4L]
  mu <- sm[5L]
  m <- sm[1L]
  jf <- q + 6 + m * (p + q)
  jt <- jf + m * n
  f <- matrix(sm[jf + 1L:(mu * n)], n, mu)
  t <- matrix(sm[jt + 1L:(mu * n)], n, mu)
  list(x = t, y = f)
}

Try the HoRM package in your browser

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

HoRM documentation built on March 11, 2021, 9:07 a.m.