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

Description Usage Arguments Details Value Examples

View source: R/na.row.R

Description

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

Usage

1
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

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

nunesmatt/GNAR documentation built on Oct. 29, 2019, 4:25 p.m.