R/getTech.R

##
## getTech Method for objects of class "CDEPD"
##
setMethod(f = "getTech", signature(object = "CDEPD"), definition = function(object){
  ans <- slot(object, "Tech")
  if(identical(length(ans), 1L)){
    ans <- rep(ans, object@K)
  }
  return(ans)
})

Try the TSSP package in your browser

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

TSSP documentation built on May 2, 2019, 4:56 p.m.