chars | R Documentation |
Generate arrays with the given dimenstions.
chars(...)
FALSEs(...)
NaNs(...)
NAs(...)
ones(..., type = "double")
zeros(..., type = "double")
... |
the elements specifying the dimension of the array. |
type |
specifies the return data type as either "int" or "double" (default), used in zeros() and ones(). |
An array of zeros, ones, NAs, NaNs, empry characters or FALSEs, with the given dimension.
## Not run:
zeros(2:3)
ones(2:3, 4)
chars(2:3)
FALSEs(2:3)
NAs(2:3)
NaNs(2:3)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.