zeros | R Documentation |
Make an array of zeros or ones
zeros(dim)
ones(dim)
dim |
dimensions of array of zeros. If scalar returns a vector. If vector input,
returns |
zeros(7)
ones(c(3, 4, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.