remove_dominated: Remove Dominated Boxes from a Peeling Output

Description Usage Arguments Details Value See Also

Description

This function removes all boxes from one "peel"-object that are dominated by another box. I.e. there is at least one other box with a better output and a bigger support beta.

Usage

1
remove_dominated(prim, sort = TRUE, dup.rm = TRUE)

Arguments

prim

object of class "peel".

sort

logical. If TRUE the boxes in the output are sorted decreasing by their box supports.

dup.rm

logical. Tf TRUE duplicated boxes in the output are removed. Boxes are duplicated if another box has exactly the same target and support.

Details

Dominated boxes mainly occur in outputs of the multiple peeling function (PRIM_peel_bs). So this function is practically only useful for "peel"-objects beeing the results of such a function. Without the dominated boxes the object gets much smaller by keeping all the relevant boxes. Also the trajectory (see plot.peel) without the not useful dominated boxes looks much clearer.

Value

This function returns another "peel"-object having the same structure as the input object, just without the dominated boxes.

See Also

PRIM_peel_bs, plot.peel


ao90/PRIM documentation built on May 5, 2019, 8:01 p.m.