Resize or Initialise a Vector or Matrix to NA
Posted: Wed Aug 20, 2014 3:29 am
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?