masked_arr: Masked array class.

masked_arrR Documentation

Masked array class.

Description

A mask of an array with respect to a given threshold is found by taking the original array and setting all elements falling below the threshold to FALSE and the others to TRUE. An object of class masked_arr has the attribute thresh detailing the threshold value that was applied.

Usage

masked_arr(arr, thresh)

Arguments

arr

An array of logicals (the mask).

thresh

The threshold. Either a scalar or an object of class th.

Value

An object of class masked_arr.


autothresholdr documentation built on Feb. 16, 2023, 6:12 p.m.