dimNA< -: Sets the dimension of an object with the option to infer one dimension automatically
Description
Sets the dimension of an object with the option to infer one dimension automatically.
If one of the elements in the dimension vector is NA, then its value
is inferred from the length of the object and the other elements in the
dimension vector. If the inferred dimension is not an integer, an
error is thrown.
Usage
# S3 method for default
dimNA(x) <- value
Value
Returns (invisibly) what dim<-() returns
(see dim() for more details).