ones | R Documentation |
Replace each element of a numeric vector by 1
ones(x)
x |
a numeric vector |
a vector of the same length as x
but with each element equal
to 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.