Skip to contents

This function will assign all flagged objects a single value returned as the objectFlag variable. It is useful for collapsing many easyXpress OFs into a single flag label based on the order in which the flags were added to the data frame.

Usage

setOF(data)

Arguments

data

A data frame with _ObjectFlag variables. Typically the data is generated with easyXpress OF functions but any variable that contains _ObjectFlag in its name will be considered.

Value

A single data frame with all flagged objects labelled in the objectFlag variable. All objects that are not flagged are labelled noFlag.