R/getOpt.R

##
## getOpt Method for objects of class "CLPS"
##
setMethod(f = "getOpt", signature(object = "CLPS"), definition = function(object){
  ans <- slot(object, "opt")
  return(ans)
})
##
## getOpt Method for objects of class "CDEPS"
##
setMethod(f = "getOpt", signature(object = "CDEPS"), definition = function(object){
  ans <- slot(object, "opt")
  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.