Skip to contents

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

Usage

setWF(data)

Arguments

data

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

Value

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