has_NAs_pooled_at_depth: NAs present but only in deepest soil layers

Description Usage Arguments Value

View source: R/Soils_Functions.R

Description

Checks that NAs are present and that NAs occur only grouped together in the right-most columns per row (e.g., deepest soil layers if columns represent soil layers and rows represent sites).

Usage

1

Arguments

x

A data.frame, matrix, or array with at least two dimensions.

Value

A logical vector of length equal to the first dimension of x with TRUE if there are n[k] NAs in the k-th row and they occupy the k rightmost columns.


Burke-Lauenroth-Lab/SoilWat_R_Wrapper documentation built on Aug. 14, 2020, 5:17 p.m.