na.row: Identifies which rows of a matrix have NAs

View source: R/na.row.R

na.rowR Documentation

Identifies which rows of a matrix have NAs

Description

Returns a vector with elements TRUE/FALSE identifying which rows contain NA elements.

Usage

na.row(mat)

Arguments

mat

a matrix object.

Details

This function is used in the unstacking of residuals into a residual matrix and replacing NAs where they were previously present.

Value

na.row returns a vector of length equal to the number of rows in mat. Each element is either TRUE or FALSE.

Examples

#Check if there are and NAs in fiveVTS
na.row(fiveVTS)

GNAR documentation built on April 28, 2023, 1:12 a.m.

Related to na.row in GNAR...