R/methods-plot.R

#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::#
#                                                                              #
# Calls the plot method if specified for the solver.method                     #
#                                                                              #
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::#
setMethod(f = "plot",
          signature = c(x="modelObjFit"),
          definition = function(x, ...){
                         tmp <- try( plot(x@fitObj, ...), silent=TRUE )
                         if( class(tmp) == 'try-error' ){
                           warnMsg("plot", class(x@fitObj))
                         }
                       })

Try the modelObj package in your browser

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

modelObj documentation built on May 2, 2019, 5:20 p.m.