R/show.R

setMethod("show",
          signature(object = "randPort"),
          function(object){
            cat("A Collection of Random Portfolios\n")
            cat("Size of Universe:              ", paste(nrow(object@universe)))
            cat("Number of Random Portfolios:   ", paste(ncol(object@matched.weights)))
            cat("\n")
          }
          )
davidkane9/matchingportfolios documentation built on May 15, 2019, 1:14 a.m.