Page 1 of 1

Resize or Initialise a Vector or Matrix to NA

Posted: Wed Aug 20, 2014 3:29 am
by Ecovi
Is there a way to resize (enlarge) a vector or matrix and initialise the new elements to NA instead of zero, without the use of cumbersome for-loops and helping variables?

Re: Resize or Initialise a Vector or Matrix to NA

Posted: Wed Aug 20, 2014 5:43 am
by EViews Gareth
Nope.

Re: Resize or Initialise a Vector or Matrix to NA

Posted: Wed Aug 20, 2014 7:44 am
by Ecovi
Okay, a pity though!