Skip to contents

Define a mask policy

Usage

MaskPolicy(
  scope = c("group", "subject"),
  rule = c("intersection", "union", "threshold", "custom"),
  threshold = 0.95,
  custom = NULL
)

Arguments

scope

Scope of mask computation ("group" or "subject")

rule

Mask rule ("intersection", "union", "threshold", "custom")

threshold

Fraction for threshold rule

custom

Custom function returning logical mask

Value

A mask policy object