Learn R Programming

expirest (version 0.1.6)

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 vectors of \(x\) values. The list must have four elements named "cics", "dics", "dids.pmse" and "dids".

l2

A list of vectors of indices. As l1, the list must have four elements named "cics", "dics", "dids.pmse" and "dids". The length of the vectors of l2 must be equal to the number of rows of the matrices in l1 or the length of the vectors in l1.

Details

Information from a list of matrices or a list of lists of vectors is extracted by aid of a list of vectors of indices which specify which elements per row of each matrix or which elements of the vectors have to be returned.