inbox: Defining Subset lying in a Box

Description Usage Arguments Details Value

Description

Help function that returns the subset of the whole data set which is contained in one box (fixbox). This function is needed in other functions like PRIM_peel_bs.

Usage

1
inbox(X, fixbox_metric = NULL, fixbox_nom = NULL, fixbox_na = NULL)

Arguments

X

data.frame from which the subset should be taken.

fixbox_metric

one row of a box_metric from a "peel"-object.

fixbox_nom

one element of a box_nom list from a "peel"-object.

fixbox_na

one element of a box_na list from a "peel"-object.

Details

The arguments fixbox_metric, fixbox_nom, fixbox_na can also come from a "fixbox"-object.

Value

inbox returns a logical vector indicating the observations that lie in the box.


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