View source: R/err.WN.vec.dim.R
err.WN.vec.dim | R Documentation |
Throws an error if the argument is not an atomic vector withh whole-number elements(could be of type 'double', not necessarily of type 'int') and must have a specified dimension.
err.WN.vec.dim(v, n)
v |
The vector/item under scrutiny |
n |
The size of the vector/object v |
Throws an error if the value v is NULL
The vector must be of atomic class(excludes lists)
The elements of the object/vector v could be whole no.s of type 'double'. Not necessarily 'int'
Return type is NULL
Chitran Ghosal
v <- c(1.3, 2.0)
w <- c(1.0, 2.0)
L <- list(v, w)
err.WN.vec.dim(v, 2)
err.WN.vec.dim(w, 2)
err.WN.vec.dim(w, 3)
err.WN.vec.dim(L, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.