Learn R Programming

expirest (version 0.1.5)

extract_wc_x: Extract worst case x value

Description

The function extract_wc_x() extracts the worst case \(x\) value from a list of matrices of possible \(x\) values based on a list of vectors of indices which specify the worst case elements.

Usage

extract_wc_x(l1, l2)

Value

A matrix of the worst case values with the number of rows corresponding to the length of the vectors in l2 and the number of columns corresponding to the length of l1 or l2 is returned.

Arguments

l1

A list of matrices of \(x\) values or a list of lists of one element being a numeric vector. The list must have three elements named "cics", "dics" and "dids".

l2

A list of vectors of indices which specify the worst case elements. The list must have three elements named "cics", "dics" and "dids". The length of l2 must be equal to the length of l1 and the length of the vectors of l2 must be equal to the number of rows of the matrices in l1.

Details

Information from a list of matrices of values or list of list of one vector by aid of a list of vectors of indices which specify which elements in row of each matrix or which elements of the vectors are the worst case elements.