Learn R Programming

MOSAlloc (version 1.2.4)

summary.mosaSTRS: Summary a mosaSTRS object

Description

Summary-function for class mosaSTRS

Usage

# S3 method for mosaSTRS
summary(object, ...)

Value

Either a summary.mosaSTRS object for a mosaSTRS

object or a list of summary.mosaSTRS objects for a list of mosaSTRS objects. A summary.mosaSTRS object is a list containing the following components:

$vname Name of object.

$sense

Sense of optimization; max precision or min_cost.

$method

The method used weighted sum scalarization (WSS) or weighted Chebyshev minimization (WCM).

$objout

A data frame corresponding to the objectives, including the values, the sensitivity, the weights and the RSE.

$precision

A data frame corresponding to the precision constraints.

$cost

A data frame corresponding to the cost constraints.

$n_opt

A vector of optimal sample sizes w.r.t the weights.

Arguments

object

an object inheriting from class mosaSTRS, representing the results of the function mosallocSTRS(). This can also be a list of mosaSTRS objects.

...

some methods for this generic require additional arguments. None are used in this method.