Name
miss — converts a specified value to NA
CALLING SEQUENCE
v=miss(mat,val)
PARAMETERS
- Input
mat = a (nxp) matrix
val = a scalar
- Output
mat = a (nxp) matrix
DESCRIPTION
Function that mimics gauss function miss: converts to NA prespecified values in a matrix
EXAMPLE
x1=ones(7,1);x2=[1:7]';v = miss([x1 x2],7)
// returns:
// v =
//! 1. 1. !
//! 1. 2. !
//! 1. 3. !
//! 1. 4. !
//! 1. 5. !
//! 1. 6. !
//! 1. %Nan !