Logical indicating whether or not to force column vectors
to have a second dimension equal to one. Defaults to FALSE. This
behavior can also be changed globally using, for example
options(atleast_2d = TRUE).
Value
A matrix or array filled with the value x. If the result is a
matrix, it will have class c("matrix", "mat").
fill(pi, 3, 5) # 3-by-5 matrix filled with the value of pifill(pi, 3, 5, 2, 2) # 3-by-5-by-2-by-2 array filled with the value of pipi * ones(3, 5)
zeros(10)
zeros(10, atleast_2d = TRUE)