Home   >   User Resources   >   Online Help   >   apaMatrix.Select.Rows.NA
 

 

Function index Version 3.0.0

apaMatrix.Select.Rows.NA(Selection, Matrix)

Excel=apaMatrix.Select.Rows.NA(Selection, Matrix)

Result

Selects rows of a matrix, given an indicator vector, and sets the data of the non-selected rows to #N/A.

Syntax

Selection: r x 1 vector of row indicators (1 for selected, 0 for not selected)

Matrix: r x c data matrix