R/methods.R

Defines functions summary.design_list print.design_list

#'@export
# The print method (shows just the best design)
# print.design_list <- function(object, ...) {
print.design_list <- function(x, ...) {
  print(x$BestDesign, ...)
}

#'@export
# The summary method (to show all the designs)
# summary.design_list <- function(object, ...) {
summary.design_list <- function(object, ...) {
  print(object$AllDesigns, ...)
}

Try the idefix package in your browser

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

idefix documentation built on April 4, 2025, 1:51 a.m.