has_at.least_n.vals: Checks whether a vector has at least a certain number of non...

View source: R/utils.R

has_at.least_n.valsR Documentation

Checks whether a vector has at least a certain number of non NA/Nan/NULL values

Description

Checks whether a vector has at least a certain number of non NA/Nan/NULL values

Usage

has_at.least_n.vals(v, n = 0, row.or.col = 1)

Arguments

v

A vector (any type)

n

A threshold of non NA values

row.or.col

A number indicating direction to apply function: either 1 for row-wise, 2 (default) for column-wise.

Value

A logical indicating whether the number of non-NA values is above the threshold


kazeera/hourglass documentation built on April 5, 2025, 7:18 a.m.