na.row {GNAR} | R 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)
[Package GNAR version 1.1.3 Index]