ones {calibrate} | R Documentation |
ones
generates a matrix of ones.
ones(n, p = n)
n |
number of rows |
p |
number of columns |
if only n is specified, the resulting matrix will be square.
a matrix filled with ones.
Jan Graffelman (jan.graffelman@upc.edu)
Id <- ones(3)
print(Id)