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 (email@example.com)
Id <- ones(3)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.