ones generates a matrix of ones.
ones(n, p = n)
number of rows
number of columns
if only n is specified, the resulting matrix will be square.
a matrix filled with ones.
Jan Graffelman (firstname.lastname@example.org)
Id <- ones(3)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.